Function at 0x43ad28
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x43ad31
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f04
mov eax, dword [ebp - 8]
call fcn.00404f04
lea eax, [ebp - 0x17c]
mov edx, dword [0x408468]
call fcn.00405518
xor eax, eax
push ebp
push 0x43b045
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x180]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004306e4
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 4]
call fcn.00404aec
lea ecx, [ebp - 0x184]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004306e4
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 8]
call fcn.00404aec
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x43b060
call fcn.00405058
test eax, eax
jne 0x43ae94
mov edx, dword [ebp - 8]
mov eax, 0x43b060
call fcn.00405058
test eax, eax
jne 0x43ae94
cmp byte [ebp + 0x10], 0
je 0x43ae14
mov eax, dword [ebp - 8]
call fcn.00409d78
test al, al
jne 0x43ae14
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 8]
call fcn.0040a1cc
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x14]
mov dl, 1
call fcn.004336b0
mov eax, dword [ebp - 0x14]
call fcn.00409d9c
cmp byte [ebp - 9], 0
je 0x43ae8e
cmp dword [ebp + 0xc], 0
je 0x43ae34
push 0
push 0
lea eax, [ebp - 0x21]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 1
call dword [ebp + 0xc]
cmp dword [ebp + 8], 0
je 0x43ae67
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 8]
call fcn.0040a2b4
mov eax, dword [ebp - 0x18c]
push eax
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 8]
call fcn.0040a1cc
mov eax, dword [ebp - 0x190]
pop edx
call dword [ebp + 8]
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 0x43affc
inc ebx
jmp 0x43affc
inc ebx
jmp 0x43affc
mov eax, dword [ebp - 8]
call fcn.00409d78
test al, al
je 0x43aebe
lea ecx, [ebp - 0x194]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004336b0
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 8]
call fcn.00404aec
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 4]
call fcn.0040a1cc
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x10]
mov dl, 1
call fcn.004336b0
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 8]
call fcn.0040a1cc
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x14]
mov dl, 1
call fcn.004336b0
cmp byte [ebp + 0x10], 0
je 0x43af08
mov eax, dword [ebp - 0x14]
call fcn.00409d9c
mov eax, dword [ebp - 0x14]
call fcn.00409d78
test al, al
je 0x43affc
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x17c]
mov edx, 0x27
mov eax, dword [ebp - 4]
call fcn.00409fb8
jmp 0x43afe3
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x170]
call fcn.0043ab60
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp - 0x10]
call fcn.00404d60
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404d60
cmp byte [ebp - 9], 0
je 0x43afd7
cmp dword [ebp + 0xc], 0
je 0x43af84
push 0
push 0
lea eax, [ebp - 0x21]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 1
call dword [ebp + 0xc]
cmp dword [ebp + 8], 0
je 0x43afb7
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x20]
call fcn.0040a2b4
mov eax, dword [ebp - 0x1a0]
push eax
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x20]
call fcn.0040a1cc
mov eax, dword [ebp - 0x1a4]
pop edx
call dword [ebp + 8]
push 0
mov eax, dword [ebp - 0x20]
call fcn.00404f14
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404f14
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
je 0x43afd8
inc ebx
jmp 0x43afd8
inc ebx
lea eax, [ebp - 0x17c]
call fcn.0040a008
test eax, eax
jne 0x43aff1
cmp byte [ebp - 0x21], 0
je 0x43af34
lea eax, [ebp - 0x17c]
call fcn.0040a02c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b04c
lea eax, [ebp - 0x1a4]
mov edx, 0xa
call fcn.00404a78
lea eax, [ebp - 0x17c]
mov edx, dword [0x408468]
call fcn.004055e8
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00404a78
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a78
ret