Function at 0x440a60
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5ac7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa8], ebx
lea ecx, [ebp - 0xa4]
call fcn.0048b4b0
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [edx], ax
jne 0x440ac7
xor ecx, ecx
jmp 0x440adf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440ad0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00439160
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0xa4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440b0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Quarantine_Cache_
lea ecx, [ebp - 0x70]
call fcn.0048eea0
lea ecx, [ebp - 0xac]
call fcn.0048b4b0
mov byte [ebp - 4], 3
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edx], ax
jne 0x440b48
xor ecx, ecx
jmp 0x440b5f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440b50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00439160
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440b8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Quarantine_
lea ecx, [ebp - 0x58]
call fcn.0048eea0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
call fcn.0048a400
lea edx, [ebx + 4]
push str.sqlite.dll
lea ecx, [ebp - 0xa4]
call fcn.0041c010
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0xa4]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x440be4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
test edi, edi
je 0x440cc0
push 0xa
xor eax, eax
mov dword [ebp - 0x14], 7
push str.sqlite.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push eax
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
call fcn.00438720
mov edi, eax
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
push str.sqlite.dll
mov byte [ebp - 4], 7
lea edx, [edx + 4]
call fcn.0041c010
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x440c5a
mov edi, dword [edi]
push 0
push edi
push dword [eax]
call ebx
mov edx, dword [ebp - 0xa4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440c7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x440c93
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x440cc0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
push str.QMCommon.dll
lea edx, [edx + 4]
call fcn.0041c010
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0xa4]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x440d03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x440dd7
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
push str.QMCommon.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push eax
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
call fcn.00438720
mov edi, eax
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
push str.QMCommon.dll
mov byte [ebp - 4], 9
lea edx, [edx + 4]
call fcn.0041c010
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x440d73
mov edi, dword [edi]
push 0
push edi
push dword [eax]
call ebx
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x440d95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x440daa
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x440dd7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
push 0x10
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.QMQuarantine.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00439160
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 0x10
xor eax, eax
mov dword [ebp - 0x14], 7
push str.QMQuarantine.exe
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0xa0]
call fcn.00438720
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push eax
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.00438720
add esp, 8
mov edx, esi
mov ecx, eax
call fcn.004409f0
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x440e86
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x440ebb
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x440eed
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x440f1a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
push 0xc
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.QMCommon.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00439160
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
push str.QMCommon.dll
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.00438720
mov esi, eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push eax
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0xa0]
call fcn.00438720
add esp, 8
mov edx, esi
mov ecx, eax
call fcn.004409f0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x440fcc
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x441004
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x441030
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x44105d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
push 0xa
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.sqlite.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00439160
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push 0xa
xor eax, eax
mov dword [ebp - 0x14], 7
push str.sqlite.dll
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.00438720
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push eax
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0xa0]
call fcn.00438720
add esp, 8
mov edx, esi
mov ecx, eax
call fcn.004409f0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x44110f
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x441147
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x441173
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x44119c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4411b1
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4411da
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00433600
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret