Function at 0x402230
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4196b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.004030fd
mov eax, dword [0x4206f4]
mov dword [esp + 0x34], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0xa0]
push ebx
push eax
lea ecx, [esp + 0x14]
push 0x4204b0
push ecx
mov byte [esp + 0x44], 2
call fcn.0040f81d
mov edx, dword [esi + 0xa0]
lea eax, [esp + 0x18]
push edx
push 0x42049c
push eax
call fcn.0040f81d
mov ecx, dword [esp + 0x24]
add esp, 0x1c
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.004031c0
test eax, eax
je 0x4022cb
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
call fcn.00403176
mov eax, dword [esp + 0xc]
push ebp
push edi
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.004031c0
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x402312
mov ecx, dword [esp + 0x14]
push 0x80
push ecx
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x18]
call fcn.00403176
jmp 0x402356
mov ecx, dword [0x4206f4]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push edx
push 0x420490
push eax
mov byte [esp + 0x48], 3
call fcn.0040f81d
mov ecx, dword [esp + 0x50]
add esp, 0xc
push 0
push 0
push ecx
mov ecx, esi
call fcn.00412245
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.00413c1a
mov edx, dword [esi + 0xa0]
push ebx
push edx
lea eax, [esp + 0x1c]
push 0x42047c
push eax
call fcn.0040f81d
mov ecx, dword [esi + 0xa0]
lea edx, [esp + 0x20]
push ecx
push 0x420468
push edx
call fcn.0040f81d
mov eax, dword [esp + 0x2c]
add esp, 0x1c
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004031c0
test eax, eax
je 0x4023b2
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
call ebx
lea ecx, [esp + 0x18]
call fcn.00403176
jmp 0x4023b8
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.004031c0
test eax, eax
je 0x4023f1
mov eax, dword [esp + 0x14]
push 0x80
push eax
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call fcn.00403176
jmp 0x402434
mov eax, dword [0x4206f4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
push ecx
push 0x420490
push edx
mov byte [esp + 0x48], 4
call fcn.0040f81d
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
push 0
push 0
push eax
call fcn.00412245
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.00413c1a
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0xa0]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x420454
push eax
call fcn.0040f81d
mov ecx, dword [esi + 0xa0]
lea edx, [esp + 0x20]
push ecx
push 0x420440
push edx
call fcn.0040f81d
mov eax, dword [esp + 0x2c]
add esp, 0x1c
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004031c0
test eax, eax
je 0x40248c
mov ecx, dword [esp + 0x10]
push ecx
call ebx
lea ecx, [esp + 0x18]
call fcn.00403176
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.004031c0
test eax, eax
je 0x4024c5
mov eax, dword [esp + 0x14]
push 0x80
push eax
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call fcn.00403176
jmp 0x402508
mov eax, dword [0x4206f4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
push ecx
push 0x420490
push edx
mov byte [esp + 0x48], 5
call fcn.0040f81d
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
push 0
push 0
push eax
call fcn.00412245
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call fcn.00413c1a
mov ecx, dword [esi + 0xa0]
lea edx, [esp + 0x10]
push ecx
push 0x42042c
push edx
call fcn.0040f81d
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004031c0
pop edi
pop ebp
test eax, eax
je 0x402547
mov ecx, dword [esp + 8]
push ecx
call ebx
lea ecx, [esp + 0x10]
call fcn.00403176
mov edx, dword [esi + 0xa0]
lea eax, [esp + 8]
push edx
push 0x420418
push eax
call fcn.0040f81d
mov ecx, dword [esp + 0x14]
add esp, 0xc
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.004031c0
test eax, eax
je 0x402584
mov edx, dword [esp + 8]
push edx
call ebx
lea ecx, [esp + 0x10]
call fcn.00403176
mov eax, dword [esi + 0xa0]
lea ecx, [esp + 8]
push eax
push 0x420404
push ecx
call fcn.0040f81d
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
push edx
call fcn.004031c0
test eax, eax
je 0x4025c1
mov eax, dword [esp + 8]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.00403176
lea ecx, [esp + 8]
mov byte [esp + 0x34], 1
call fcn.00413c1a
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0
call fcn.00413c1a
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0040313a
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8