Function at 0x42b24f
Capabilities:
Copy file

Disassembly:
push 0xa8
mov eax, 0x49fb78
call fcn.00454d9d
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, ecx
push esi
push 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ebx
mov edi, edx
mov dword [ebp - 0x50], esi
call fcn.00438ce8
pop ecx
pop ecx
cmp eax, esi
je 0x42b285
mov dword [eax], ebx
jmp 0x42b287
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
lea eax, [ebp - 0x4c]
mov edx, edi
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 2
call fcn.0041f7b5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
mov edx, edi
mov dword [ebp - 0x58], ecx
call fcn.0041f78e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
lea edi, [ebp - 0x58]
lea esi, [ebp - 0x3c]
call fcn.0041fe88
test al, al
jne 0x42b4c6
call fcn.0041fdaf
add eax, 8
push 0x4ad870
push eax
call fcn.0041f44f
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.0041ee43
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42b30a
lea eax, [ebp - 0x2c]
push eax
call fcn.00421118
pop ecx
test eax, eax
jl 0x42b346
lea eax, [ebp - 0x30]
push eax
call fcn.00421805
pop ecx
test eax, eax
jge 0x42b4a0
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x64]
push 0x4b1288
push 0
push eax
push ecx
call fcn.0041908a
mov ebx, dword [ebp - 0x34]
jmp 0x42b4a0
lea esi, [ebp - 0x3c]
call fcn.0041fdaf
add eax, 8
mov edi, 0x4ad8ac
push edi
mov ecx, eax
call fcn.0041f647
test al, al
je 0x42b3cb
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42b36e
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x44], eax
call fcn.0041fdaf
add eax, 8
push edi
push eax
call fcn.0041f44f
mov eax, dword [eax]
xor esi, esi
push esi
push dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, esi
je 0x42b39c
push esi
jmp 0x42b4a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x42b3b0
and eax, 0xffff
or eax, 0x80070000
mov ecx, eax
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0x64]
push 0x4b12f0
push esi
push ecx
push eax
call fcn.0041908a
mov ebx, dword [ebp - 0x34]
lea esi, [ebp - 0x3c]
call fcn.0041fdaf
add eax, 8
push 0x4ad894
push eax
call fcn.0041f44f
lea esi, [ebp - 0xb4]
mov ecx, eax
call fcn.0041ee43
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.004156ab
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.004156ab
mov byte [ebp - 4], 6
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x42b41d
xor edi, edi
jmp 0x42b42a
mov eax, dword [ebx + 0x14]
sub eax, esi
push 0x38
cdq
pop ecx
idiv ecx
mov edi, eax
mov ecx, dword [ebx + 0x10]
mov eax, ecx
sub eax, esi
push 0x38
cdq
pop esi
idiv esi
cmp eax, edi
jae 0x42b44f
lea eax, [ebp - 0x98]
push eax
push 1
push ecx
call fcn.0042ba39
mov dword [ebx + 0x10], eax
jmp 0x42b477
mov edi, ebx
mov ebx, ecx
lea esi, [ebp - 0x4c]
call fcn.0042bdac
push dword [ebp - 0x48]
lea eax, [ebp - 0x98]
push dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x34]
call fcn.0042b958
mov ebx, dword [ebp - 0x34]
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x7c]
call fcn.00407ab4
push esi
push 1
lea ecx, [ebp - 0x98]
call fcn.00407ab4
push esi
push 1
lea ecx, [ebp - 0xb4]
call fcn.00407ab4
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00407ab4
lea esi, [ebp - 0x3c]
call fcn.0041fdda
jmp 0x42b2ca
mov eax, ebx
call fcn.00454df9
ret 4