Function at 0x47a3a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x47a3a8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47a877
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x37c]
call fcn.00442014
mov edx, dword [ebp - 0x10]
mov eax, 0x47a890
call fcn.004052c0
test eax, eax
je 0x47a693
push 0
mov cx, word [0x47a89c]
mov dl, 3
mov eax, 0x47a8a8
call fcn.0043b70c
sub eax, 2
je 0x47a84c
sub eax, 4
je 0x47a40d
dec eax
je 0x47a413
jmp 0x47a417
mov byte [ebp - 9], 0
jmp 0x47a417
mov byte [ebp - 9], 1
mov eax, dword [0x48ed04]
mov eax, dword [eax]
call fcn.00461c74
lea eax, [ebp - 8]
mov edx, 0x47a900
call fcn.00404d64
lea eax, [ebp - 0x14]
mov ecx, 0x47a958
mov edx, dword [ebx + 0x3a4]
call fcn.00404fd0
mov eax, dword [ebp - 0x14]
call fcn.004706d0
test al, al
jne 0x47a46a
lea eax, [ebp - 0x18]
mov ecx, 0x47a958
mov edx, dword [ebx + 0x3a4]
call fcn.00404fd0
mov eax, dword [ebp - 0x18]
call fcn.00402b18
mov edi, dword [ebx + 0x16e0]
test edi, edi
jle 0x47a4ed
mov esi, 1
push dword [ebx + 0x3a4]
push 0x47a96c
dec esi
cmp esi, 0x18f
jbe 0x47a492
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0x1098]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x1c]
call fcn.004706d0
test al, al
jne 0x47a4e9
push dword [ebx + 0x3a4]
push 0x47a96c
dec esi
cmp esi, 0x18f
jbe 0x47a4cc
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0x1098]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x20]
call fcn.00402b18
inc esi
dec edi
jne 0x47a479
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [ebx + 0x16dc]
test edi, edi
jle 0x47a5f0
mov esi, 1
inc dword [ebp - 4]
push dword [ebp - 8]
dec esi
cmp esi, 0x18f
jbe 0x47a519
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
push 0x47a980
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405044
push dword [ebx + 0x39c]
push 0x47a98c
dec esi
cmp esi, 0x18f
jbe 0x47a54c
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x24]
call fcn.004096c0
test al, al
je 0x47a5e8
cmp byte [ebp - 9], 1
cmc
sbb eax, eax
push eax
push dword [ebx + 0x3a4]
push 0x47a96c
dec esi
cmp esi, 0x18f
jbe 0x47a58e
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x28]
call fcn.0040517c
push eax
push dword [ebx + 0x39c]
push 0x47a98c
dec esi
cmp esi, 0x18f
jbe 0x47a5c5
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x2c]
call fcn.0040517c
push eax
call sub.kernel32.dll_CopyFileA
inc esi
dec edi
jne 0x47a505
mov eax, dword [ebp - 8]
call fcn.00404f84
mov edx, eax
dec edx
lea eax, [ebp - 8]
mov ecx, 2
call fcn.0040521c
cmp dword [ebp - 4], 0
jle 0x47a679
cmp dword [ebp - 4], 0x32
jg 0x47a63c
push 0
lea eax, [ebp - 0x30]
mov ecx, 0x47a9a0
mov edx, dword [ebp - 8]
call fcn.00404fd0
mov eax, dword [ebp - 0x30]
mov cx, word [0x47a9a4]
mov dl, 2
call fcn.0043b70c
jmp 0x47a84c
push 0
push 0x47a9b0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00409340
push dword [ebp - 0x38]
push 0x47a9a0
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x34]
mov cx, word [0x47a9a4]
mov dl, 2
call fcn.0043b70c
jmp 0x47a84c
push 0
mov cx, word [0x47a9a4]
mov dl, 2
mov eax, 0x47aa1c
call fcn.0043b70c
jmp 0x47a84c
lea eax, [ebp - 8]
mov edx, 0x47aa60
call fcn.00404d64
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [ebx + 0x16dc]
test edi, edi
jle 0x47a75e
mov esi, 1
push dword [ebx + 0x3a4]
push 0x47a96c
dec esi
cmp esi, 0x18f
jbe 0x47a6d1
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x3c]
call fcn.004096c0
test al, al
je 0x47a756
push dword [ebx + 0x3a4]
push 0x47a96c
dec esi
cmp esi, 0x18f
jbe 0x47a70b
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x40]
call fcn.004098a8
push dword [ebp - 8]
dec esi
cmp esi, 0x18f
jbe 0x47a739
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0xa58]
push 0x47a980
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405044
inc dword [ebp - 4]
inc esi
dec edi
jne 0x47a6b8
mov esi, dword [ebx + 0x16e0]
cmp esi, 1
jl 0x47a7a4
push dword [ebx + 0x3a4]
push 0x47a96c
dec esi
cmp esi, 0x18f
jbe 0x47a782
call fcn.00403ea0
inc esi
push dword [ebx + esi*4 + 0x1098]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x44]
call fcn.00409d50
dec esi
test esi, esi
jne 0x47a769
mov edx, 0x47aaac
mov eax, dword [ebx + 0x37c]
call fcn.00442044
mov eax, dword [ebp - 8]
call fcn.00404f84
mov edx, eax
dec edx
lea eax, [ebp - 8]
mov ecx, 2
call fcn.0040521c
cmp dword [ebp - 4], 0
jle 0x47a837
cmp dword [ebp - 4], 0x32
jg 0x47a7fd
push 0
lea eax, [ebp - 0x48]
mov ecx, 0x47a9a0
mov edx, dword [ebp - 8]
call fcn.00404fd0
mov eax, dword [ebp - 0x48]
mov cx, word [0x47a9a4]
mov dl, 2
call fcn.0043b70c
jmp 0x47a84c
push 0
push 0x47aaf4
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00409340
push dword [ebp - 0x50]
push 0x47a9a0
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405044
mov eax, dword [ebp - 0x4c]
mov cx, word [0x47a9a4]
mov dl, 2
call fcn.0043b70c
jmp 0x47a84c
push 0
mov cx, word [0x47a9a4]
mov dl, 2
mov eax, 0x47ab58
call fcn.0043b70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a87e
lea eax, [ebp - 0x50]
mov edx, 0x10
call fcn.00404cf0
lea eax, [ebp - 0x10]
call fcn.00404ccc
lea eax, [ebp - 8]
call fcn.00404ccc
ret