Function at 0x4037a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x276c
call fcn.0041e2c0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], esi
mov eax, dword [0x455c80]
mov dword [ebp - 4], 2
mov edi, eax
test eax, eax
mov dword [ebp - 0x30], edi
je 0x403c8f
push 0x5c
lea ecx, [ebp + 8]
call fcn.0042f35c
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [ebp + 8]
call fcn.0042f268
mov al, byte [ebp + 0x14]
mov byte [ebp - 4], 3
test al, al
je 0x403845
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00432520
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
call fcn.00406520
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004328e4
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 3
call fcn.004327ab
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push edx
call fcn.00432520
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.00432b5d
push ecx
lea edx, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 0x14], esp
push edx
call fcn.00432520
mov ecx, esi
call fcn.00403620
test eax, eax
je 0x403887
lea eax, [ebp - 0x28]
lea ecx, [ebp + 8]
push eax
call fcn.004328e4
mov eax, dword [0x453b24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push 0
push ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.004366eb
mov esi, 0x2710
mov byte [ebp - 4], 8
mov dword [ebp + 0x14], esi
cmp esi, 0x2710
jne 0x4038ff
lea edx, [ebp - 0x277c]
push esi
push edx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.00436965
mov esi, eax
mov dword [ebp + 0x14], esi
jmp 0x4038df
lea eax, [ebp - 0x277c]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], 8
mov byte [ebp + esi - 0x277c], 0
call fcn.00432b21
jmp 0x4038b0
lea ecx, [ebp - 0x6c]
call fcn.00436a63
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004328e4
lea ecx, [ebp - 0x14]
call fcn.00432c79
mov ebx, 0x11
test edi, edi
je 0x403c53
mov edx, dword [edi + 4]
mov eax, edi
add eax, 8
lea ecx, [ebp + 0x14]
push eax
mov dword [ebp - 0x30], edx
call fcn.00432520
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xb
call fcn.00432520
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xc
call fcn.00432c79
push str.file:__
lea ecx, [ebp + 0x14]
call fcn.0042f37e
cmp eax, 0xffffffff
jne 0x403992
push 0x451718
lea ecx, [ebp + 0x14]
call fcn.0042f37e
cmp eax, 0xffffffff
jne 0x403992
push 0x451714
lea ecx, [ebp + 0x14]
call fcn.0042f37e
cmp eax, 0xffffffff
je 0x403c33
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042f37e
mov edi, eax
cmp edi, 0xffffffff
je 0x403c33
lea edx, [edi + 1]
lea ecx, [ebp - 0x14]
push edx
push 0x451710
call fcn.0042f38c
mov esi, eax
cmp esi, 0xffffffff
je 0x403c33
push str.file:__
lea ecx, [ebp + 0x14]
call fcn.0042f37e
cmp eax, 0xffffffff
je 0x403a10
mov ecx, dword [ebp + 0x14]
add eax, 7
lea edx, [ebp - 0x48]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [ebp + 0x14]
call fcn.0042f268
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xd
call fcn.004328e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.004327ab
lea ecx, [ebp + 0x14]
call fcn.00432c79
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.00432520
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00406790
lea edx, [ebp - 0x38]
lea ecx, [ebp + 0x14]
push edx
mov byte [ebp - 4], 0xe
call fcn.004328e4
push 0x5c
lea ecx, [ebp + 0x14]
call fcn.0042f35c
cmp eax, 0xffffffff
jne 0x403a5d
push 0x2f
lea ecx, [ebp + 0x14]
call fcn.0042f35c
cmp eax, 0xffffffff
je 0x403c27
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x2c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [ebp + 0x14]
call fcn.0042f268
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xf
call fcn.00432520
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00432b5d
lea edx, [ebp - 0x277c]
push 0x2710
push edx
call fcn.00427e65
mov eax, dword [ebp + 0x10]
push eax
call fcn.0042ef7a
add esp, 0xc
test eax, eax
jne 0x403c0f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x403c00
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.00432520
mov ecx, dword [ebp - 0x34]
call fcn.004065e0
mov ecx, dword [0x453b24]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x4c]
push edi
push edx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0042f2e4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.004328e4
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.004327ab
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
call fcn.00432b5d
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x40]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x20]
sub eax, esi
push eax
push edx
call fcn.0042f268
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.00432b5d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.004327ab
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004328e4
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00432b5d
mov edx, dword [ebp - 0x1c]
push 0x1001
push edx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call fcn.004366eb
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x15
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0043699f
lea ecx, [ebp - 0x5c]
call fcn.00436a63
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call fcn.0043678b
jmp 0x403bb2
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 4], ebx
call fcn.004328e4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004328e4
lea ecx, [ebp - 0x14]
call fcn.00432c79
mov edx, dword [ebp - 0x3c]
push 0
push edx
mov ecx, 0x455c78
call fcn.00430dc1
test eax, eax
je 0x403bf4
push eax
mov ecx, 0x455c78
call fcn.00430d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.004327ab
lea eax, [ebp - 0x277c]
push eax
call fcn.0042ef7a
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.004327ab
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004327ab
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.004327ab
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.004327ab
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 8
call fcn.004327ab
mov edi, dword [ebp - 0x30]
jmp 0x403920
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.0043678b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004327ab
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004327ab
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004327ab
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004327ab
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004327ab
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004327ab
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004327ab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10