Function at 0x402bb0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4892da
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4ad1dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x80], esi
push 0xffffffffffffffff
push eax
push ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00402290
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x7c], 0x3f
call fcn.00404360
cmp eax, 0xffffffff
je 0x402c92
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404170
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x402c79
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x402c5c
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x18], 7
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402c92
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00402170
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x2f
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404360
cmp eax, 0xffffffff
je 0x402d17
inc eax
cmp eax, dword [ebx + 0x10]
jae 0x402d17
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404170
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x402cfe
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x402ce1
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x18], 7
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402d17
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00402170
cmp dword [ebp - 0x1c], 4
jae 0x402d34
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2c]
push eax
lea edx, [esi + 0x20]
lea ecx, [ebp - 0x5c]
call fcn.00404810
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004048f0
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402d6d
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x30], 8
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
mov dword [ebp - 0x4c], 0
call fcn.00403650
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push 0x80
push 1
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x7c], ebx
cmp ebx, 0xffffffff
je 0x402f94
lea edi, [esi + 0x38]
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x402dda
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00402290
push dword [ebp - 0x84]
mov byte [ebp - 4], 6
push ecx
push ebx
mov ecx, esi
call fcn.00403010
push ebx
mov byte [ebp - 0x75], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp - 0x75]
mov dword [ebp - 0x7c], 0xffffffff
test bl, bl
jne 0x402e19
cmp dword [edi + 0x14], 8
jb 0x402e0d
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x402f16
mov eax, dword [esi + 0x48]
mov ecx, edi
add eax, 0xfffffffb
push eax
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00404170
mov ebx, eax
add esi, 8
cmp esi, ebx
je 0x402e70
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x402e49
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402170
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402e61
mov eax, dword [esi]
jmp 0x402e63
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00404560
lea ecx, [ebp - 0x74]
call fcn.00401ed0
cmp dword [esi + 0x14], 8
jb 0x402e82
mov eax, dword [esi]
jmp 0x402e84
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x402e8e
mov ecx, dword [edi]
jmp 0x402e90
mov ecx, edi
push eax
push ecx
call fcn.00445dd6
add esp, 8
test eax, eax
je 0x402f13
cmp dword [esi + 0x14], 8
jb 0x402ea8
mov eax, dword [esi]
jmp 0x402eaa
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x402ebb
mov ecx, dword [esi]
jmp 0x402ebd
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x402ec7
mov eax, dword [edi]
jmp 0x402ec9
mov eax, edi
push ecx
push eax
call fcn.00445dd6
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x402edd
mov ecx, dword [esi]
jmp 0x402edf
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x402ee9
mov eax, dword [edi]
jmp 0x402eeb
mov eax, edi
push ecx
push eax
call fcn.00445dd6
add esp, 8
test eax, eax
je 0x402f13
cmp dword [esi + 0x14], 8
jb 0x402f01
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x402f09
mov edi, dword [edi]
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, byte [ebp - 0x75]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x402f2b
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00402170
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp ecx, 8
jb 0x402f54
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00402170
mov al, bl
jmp 0x402ff2
cmp dword [esi], 0
je 0x402fb2
push dword [esi + 0x68]
sub esp, 0x18
mov ecx, esp
push 0x4a47c4
call fcn.00401f10
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x402fc7
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x402ff0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402170
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004139c2
mov esp, ebp
pop ebp
ret 0xc