Function at 0x42ca03
Capabilities:
Copy file

Disassembly:
push 0x1c0
mov eax, 0x4a36e2
call fcn.0045a4e9
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], 0x4c0ee0
mov dword [ebp - 0x48], 0x4c13e4
call fcn.004053a0
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
push edi
lea ecx, [ebp - 0x70]
je 0x42ca57
call fcn.00413357
jmp 0x42ca5c
call fcn.00402b90
lea ecx, [ebp - 0x1cc]
call fcn.0042b1f4
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.004307ff
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00402b90
lea ecx, [ebp - 0xa0]
call fcn.00401ac0
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
mov edi, 0x4ac8e8
push edi
mov byte [ebp - 4], 3
call fcn.0045a1f4
pop ecx
push eax
push 0
push edi
lea ecx, [ebp - 0x6c]
call fcn.004068b0
cmp eax, 0xffffffff
lea eax, [ebp - 0x70]
push eax
jne 0x42cae7
lea eax, [ebp - 0x1a8]
push eax
mov ecx, esi
call fcn.0042f408
jmp 0x42caf2
lea ecx, [ebp - 0x1a8]
call fcn.00429252
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 0x42cdf2
push 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4c0ee0
mov dword [ebp - 0x18], 0x4c13e4
call fcn.004053a0
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.004091b8
call fcn.00441d3e
add esp, 0x34
test al, al
je 0x42cdbe
cmp edi, 4
je 0x42cf01
cmp edi, 8
je 0x42ce85
cmp edi, 0x10
jne 0x42cdbe
lea ecx, [ebp - 0xd0]
call fcn.0042b76e
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 0x42cd83
lea ecx, [ebp - 0x14c]
call fcn.00416940
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, 0x4c0d0c
cmovne eax, ecx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
mov dword [ebp - 0xa0], 0x4ae018
mov dword [ebp - 0x78], 0x4ae020
call fcn.00408f6d
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.004246e8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00401b80
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00425371
cmp dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], eax
jg 0x42cd74
jl 0x42cc67
cmp eax, 0xf00000
jae 0x42cd74
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 0x4c0d0c
call fcn.004091b8
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00405ae0
mov ecx, eax
sub esp, 0x30
mov byte [ebp - 4], 9
push esp
call fcn.00412b27
lea eax, [ebp - 0x17c]
push ebx
push eax
mov byte [ebp - 4], 0xa
call fcn.00444d8c
add esp, 0x68
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00412af9
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
call fcn.00402b90
lea ecx, [ebp - 0xa0]
call fcn.00401ac0
lea ecx, [ebp - 0x17c]
call fcn.00401b80
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 6
call fcn.00401ac0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0042f132
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x42cd1e
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.00401ac0
test esi, esi
je 0x42cd6e
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0042f132
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.00402b90
lea ecx, [ebp - 0x100]
call fcn.00401ac0
mov esi, dword [ebp - 0x198]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.004177e3
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.0042f351
test al, al
jne 0x42ce07
lea ecx, [ebp - 0xd0]
call fcn.0042c873
lea ecx, [ebp - 0xd0]
call fcn.00401ac0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00401ac0
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 0x42cb24
cmp edi, 4
jne 0x42cf11
cmp dword [ebp + 0xc], 2
sete bl
jmp 0x42cf29
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x194]
mov ecx, esi
call fcn.0042f15c
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x190]
jne 0x42ce42
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x18c]
jne 0x42ce42
xor eax, eax
jmp 0x42ce48
sbb eax, eax
and eax, 2
dec eax
cmp dword [ebp + 0xc], ebx
jne 0x42ce51
test eax, eax
jmp 0x42ce5a
cmp dword [ebp + 0xc], 2
jne 0x42ce5e
cmp eax, 0xffffffff
jne 0x42ce68
jmp 0x42ce6a
cmp dword [ebp + 0xc], 4
jne 0x42ce68
cmp eax, ebx
je 0x42ce6a
xor bl, bl
lea ecx, [ebp - 0xd0]
call fcn.0042c873
lea ecx, [ebp - 0xd0]
call fcn.00401ac0
jmp 0x42cf07
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.0042eb0c
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x194]
mov ecx, esi
call fcn.0042e545
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x18c]
jne 0x42cee1
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x190]
jne 0x42cee1
xor eax, eax
jmp 0x42cee7
sbb eax, eax
and eax, 2
dec eax
cmp dword [ebp + 0xc], ebx
jne 0x42cef4
test eax, eax
je 0x42cf07
xor bl, bl
jmp 0x42cf07
cmp dword [ebp + 0xc], 2
jne 0x42cef0
cmp eax, 0xffffffff
je 0x42cf07
jmp 0x42ceec
cmp dword [ebp + 0xc], ebx
sete bl
lea ecx, [ebp - 0x40]
call fcn.00401ac0
jmp 0x42cf29
cmp edi, 0x10
jne 0x42cf1c
cmp dword [ebp + 0xc], 2
je 0x42cf29
cmp edi, 8
jne 0x42cf27
cmp dword [ebp + 0xc], 2
je 0x42cf29
xor bl, bl
lea ecx, [ebp - 0x1a8]
call fcn.00428d4b
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0
call fcn.0043139a
lea ecx, [ebp - 0x70]
call fcn.00401ac0
mov al, bl
call fcn.0045a498
ret 0x14