Function at 0x43b064
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x43b06d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404f04
mov eax, dword [ebp - 8]
call fcn.00404f04
lea eax, [ebp - 0x180]
mov edx, dword [0x408468]
call fcn.00405518
xor eax, eax
push ebp
push 0x43b38f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x184]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004306e4
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 4]
call fcn.00404aec
lea ecx, [ebp - 0x188]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004306e4
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 8]
call fcn.00404aec
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
mov eax, 0x43b3ac
call fcn.00405058
test eax, eax
jne 0x43b1db
mov edx, dword [ebp - 8]
mov eax, 0x43b3ac
call fcn.00405058
test eax, eax
jne 0x43b1db
cmp byte [ebp + 0xc], 0
je 0x43b158
mov eax, dword [ebp - 8]
call fcn.00409d78
test al, al
jne 0x43b158
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 8]
call fcn.0040a1cc
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x18]
mov dl, 1
call fcn.004336b0
mov eax, dword [ebp - 0x18]
call fcn.00409d9c
cmp byte [ebp - 9], 0
je 0x43b1d3
test ebx, ebx
je 0x43b171
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov si, 0xfffe
call fcn.00403e3c
test ebx, ebx
je 0x43b1aa
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 8]
call fcn.0040a2b4
mov eax, dword [ebp - 0x190]
push eax
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 8]
call fcn.0040a1cc
mov edx, dword [ebp - 0x194]
mov eax, ebx
pop ecx
mov si, 0xfff9
call fcn.00403e3c
push 0
mov eax, dword [ebp - 8]
call fcn.00404f14
push eax
mov eax, dword [ebp - 4]
call fcn.00404f14
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
je 0x43b346
inc dword [ebp - 0x10]
jmp 0x43b346
inc dword [ebp - 0x10]
jmp 0x43b346
mov eax, dword [ebp - 8]
call fcn.00409d78
test al, al
je 0x43b205
lea ecx, [ebp - 0x198]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004336b0
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 8]
call fcn.00404aec
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 4]
call fcn.0040a1cc
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x14]
mov dl, 1
call fcn.004336b0
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 8]
call fcn.0040a1cc
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x18]
mov dl, 1
call fcn.004336b0
cmp byte [ebp + 0xc], 0
je 0x43b24f
mov eax, dword [ebp - 0x18]
call fcn.00409d9c
mov eax, dword [ebp - 0x18]
call fcn.00409d78
test al, al
je 0x43b346
mov byte [ebp - 0x25], 0
lea ecx, [ebp - 0x180]
mov edx, 0x27
mov eax, dword [ebp - 4]
call fcn.00409fb8
jmp 0x43b32d
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x174]
call fcn.0043ab60
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x14]
call fcn.00404d60
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404d60
cmp byte [ebp - 9], 0
je 0x43b31f
test ebx, ebx
je 0x43b2c4
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov si, 0xfffe
call fcn.00403e3c
test ebx, ebx
je 0x43b2fd
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x24]
call fcn.0040a2b4
mov eax, dword [ebp - 0x1a4]
push eax
lea edx, [ebp - 0x1a8]
mov eax, dword [ebp - 0x24]
call fcn.0040a1cc
mov edx, dword [ebp - 0x1a8]
mov eax, ebx
pop ecx
mov si, 0xfff9
call fcn.00403e3c
push 0
mov eax, dword [ebp - 0x24]
call fcn.00404f14
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404f14
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
je 0x43b322
inc dword [ebp - 0x10]
jmp 0x43b322
inc dword [ebp - 0x10]
lea eax, [ebp - 0x180]
call fcn.0040a008
test eax, eax
jne 0x43b33b
cmp byte [ebp - 0x25], 0
je 0x43b27b
lea eax, [ebp - 0x180]
call fcn.0040a02c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b396
lea eax, [ebp - 0x1a8]
mov edx, 0xa
call fcn.00404a78
lea eax, [ebp - 0x180]
mov edx, dword [0x408468]
call fcn.004055e8
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404a78
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a78
ret