Function at 0x4250c6
Capabilities:
Copy file

Disassembly:
push 0x1c0
mov eax, 0x46470d
call fcn.0043f4b0
mov esi, ecx
mov dword [ebp - 0x198], esi
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x194], ecx
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x46be90
mov dword [ebp - 0x48], 0x46c540
call fcn.004043c0
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
push edi
lea ecx, [ebp - 0x70]
je 0x42511a
call fcn.0040fab6
jmp 0x42511f
call fcn.004022d0
lea ecx, [ebp - 0x1cc]
call fcn.00423ee4
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x70]
push eax
xor ebx, ebx
lea eax, [ebp - 0xa0]
inc ebx
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00428cf7
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.004022d0
lea ecx, [ebp - 0xa0]
call fcn.00401500
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
mov edi, 0x46a790
push edi
mov byte [ebp - 4], 3
call fcn.0042b990
pop ecx
push eax
push 0
push edi
lea ecx, [ebp - 0x6c]
call fcn.004051b0
cmp eax, 0xffffffff
lea eax, [ebp - 0x70]
push eax
jne 0x4251aa
lea eax, [ebp - 0x1a8]
push eax
mov ecx, esi
call fcn.00427924
jmp 0x4251b5
lea ecx, [ebp - 0x1a8]
call fcn.00422cc2
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a4]
sub eax, ecx
push 0x30
cdq
pop edi
idiv edi
and dword [ebp - 0x19c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x188], eax
test eax, eax
je 0x4254b5
push 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004043c0
cmp dword [ebp - 0x28], 8
push 4
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
sub esp, 0x30
mov ecx, esp
push ebx
lea edx, [ebp - 0x17d]
push edx
push eax
mov byte [ebp - 4], 4
call fcn.004067ae
call fcn.00432e24
add esp, 0x34
test al, al
je 0x425481
cmp edi, 4
je 0x4255c4
cmp edi, 8
je 0x425548
cmp edi, 0x10
jne 0x425481
lea ecx, [ebp - 0xd0]
call fcn.00423f4b
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425446
lea ecx, [ebp - 0x14c]
call fcn.0041256e
cmp dword [ebp - 0x28], 8
push 0
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x17d]
push eax
test ecx, ecx
mov eax, 0x476040
cmovne eax, ecx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
mov dword [ebp - 0xa0], 0x46be90
mov dword [ebp - 0x78], 0x46c540
call fcn.004065c0
push 0
push 0
push 3
push 0x80
push ebx
push SysReAllocStringLen
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 7
call fcn.0041edbe
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00401500
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x14c]
call fcn.0041f8ba
cmp dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], eax
jg 0x425437
jl 0x42532a
cmp eax, 0xf00000
jae 0x425437
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push ebx
lea eax, [ebp - 0x17d]
push eax
push 0x476040
call fcn.004067ae
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00404770
mov ecx, eax
sub esp, 0x30
mov byte [ebp - 4], 9
push esp
call fcn.0040f418
lea eax, [ebp - 0x17c]
push ebx
push eax
mov byte [ebp - 4], 0xa
call fcn.004340af
add esp, 0x68
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040f3ea
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
call fcn.004022d0
lea ecx, [ebp - 0xa0]
call fcn.00401500
lea ecx, [ebp - 0x17c]
call fcn.00401500
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 6
call fcn.00401500
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0042764e
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x4253e1
mov ecx, dword [ecx]
cmp dword [ebp - 0x28], 8
push 0
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.00401500
test esi, esi
je 0x425431
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0042764e
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.004022d0
lea ecx, [ebp - 0x100]
call fcn.00401500
mov esi, dword [ebp - 0x198]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.004130b6
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.0042786d
test al, al
jne 0x4254ca
lea ecx, [ebp - 0xd0]
call fcn.00424f36
lea ecx, [ebp - 0xd0]
call fcn.00401500
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00401500
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x184]
inc eax
add ecx, 0x30
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x184], ecx
cmp eax, dword [ebp - 0x188]
jb 0x4251e7
cmp edi, 4
jne 0x4255d4
cmp dword [ebp + 0xc], 2
sete bl
jmp 0x4255ec
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x194]
mov ecx, esi
call fcn.00427678
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x190]
jne 0x425505
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x18c]
jne 0x425505
xor eax, eax
jmp 0x42550b
sbb eax, eax
and eax, 2
dec eax
cmp dword [ebp + 0xc], ebx
jne 0x425514
test eax, eax
jmp 0x42551d
cmp dword [ebp + 0xc], 2
jne 0x425521
cmp eax, 0xffffffff
jne 0x42552b
jmp 0x42552d
cmp dword [ebp + 0xc], 4
jne 0x42552b
cmp eax, ebx
je 0x42552d
xor bl, bl
lea ecx, [ebp - 0xd0]
call fcn.00424f36
lea ecx, [ebp - 0xd0]
call fcn.00401500
jmp 0x4255ca
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x190]
push ecx
lea ecx, [ebp - 0x18c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.0042702c
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x194]
mov ecx, esi
call fcn.00426a65
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x18c]
jne 0x4255a4
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x190]
jne 0x4255a4
xor eax, eax
jmp 0x4255aa
sbb eax, eax
and eax, 2
dec eax
cmp dword [ebp + 0xc], ebx
jne 0x4255b7
test eax, eax
je 0x4255ca
xor bl, bl
jmp 0x4255ca
cmp dword [ebp + 0xc], 2
jne 0x4255b3
cmp eax, 0xffffffff
je 0x4255ca
jmp 0x4255af
cmp dword [ebp + 0xc], ebx
sete bl
lea ecx, [ebp - 0x40]
call fcn.00401500
jmp 0x4255ec
cmp edi, 0x10
jne 0x4255df
cmp dword [ebp + 0xc], 2
je 0x4255ec
cmp edi, 8
jne 0x4255ea
cmp dword [ebp + 0xc], 2
je 0x4255ec
xor bl, bl
lea ecx, [ebp - 0x1a8]
call fcn.0040711a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0
call fcn.00429892
lea ecx, [ebp - 0x70]
call fcn.00401500
mov al, bl
call fcn.0043f45f
ret 0x14