Function at 0x48fd9c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb0
push 0
push 0
dec ecx
jne 0x48fda4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49027f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00499994
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 0x23838
mov edx, 0x490298
call fcn.00403b44
lea edx, [ebp - 0x574]
mov eax, dword [0x4acb28]
mov eax, dword [eax]
call fcn.0044ef0c
mov eax, dword [ebp - 0x574]
lea edx, [ebp - 0x570]
call fcn.00408ff8
mov edx, dword [ebp - 0x570]
lea eax, [ebp - 0xc]
mov ecx, 0x4902ac
call fcn.00403dbc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x237ec]
lea eax, [ebp - 0x14]
mov ecx, 0x4902ac
call fcn.00403dbc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x237e8]
lea eax, [ebp - 0x10]
mov ecx, 0x4902c0
call fcn.00403dbc
mov eax, dword [ebp - 0xc]
call fcn.00408f14
test al, al
jne 0x48fe58
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403b88
push 0x3e8
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049ca6c
dec eax
jne 0x490232
xor edx, edx
push ebp
push 0x490228
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x16c]
call fcn.00405e7a
mov eax, dword [0x4acbbc]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.00406329
call fcn.0040284c
mov edx, 0x400
lea eax, [ebp - 0x16c]
call fcn.00406360
call fcn.0040284c
push 0
lea edx, [ebp - 0x15]
mov ecx, 1
lea eax, [ebp - 0x16c]
call fcn.00405f1c
call fcn.0040284c
push 0
lea edx, [ebp - 0x56c]
mov ecx, 0x400
lea eax, [ebp - 0x16c]
call fcn.00405f1c
call fcn.0040284c
lea eax, [ebp - 0x16c]
call fcn.00405fe4
call fcn.0040284c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x16c]
call fcn.00405e7a
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.00406340
call fcn.0040284c
push 0
lea edx, [ebp - 0x56c]
mov ecx, 0x400
lea eax, [ebp - 0x16c]
call fcn.00405f80
call fcn.0040284c
lea eax, [ebp - 0x16c]
call fcn.00405fe4
call fcn.0040284c
push 2
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049ca6c
dec eax
jne 0x49021e
mov ebx, 0x400
lea eax, [ebp - 0x56c]
mov dl, byte [ebp - 0x15]
sub byte [eax], dl
inc eax
dec ebx
jne 0x48ff77
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.00406340
call fcn.0040284c
push 0
lea edx, [ebp - 0x56c]
mov ecx, 0x400
lea eax, [ebp - 0x16c]
call fcn.00405f80
call fcn.0040284c
mov edx, 0xa
lea eax, [ebp - 0x16c]
call fcn.00406360
call fcn.0040284c
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0xab98]
mov ecx, 0x1b0
lea eax, [ebp - 0x16c]
call fcn.00405f1c
call fcn.0040284c
lea eax, [ebp - 0x16c]
call fcn.00405fe4
call fcn.0040284c
mov eax, dword [ebp - 0x10]
call fcn.00408f60
call fcn.00409ea8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
mov edx, 0x4902d0
call fcn.0040aa60
lea eax, [ebp - 0x578]
mov edx, dword [ebp - 4]
add edx, 0xacf9
call fcn.00403d14
mov eax, dword [ebp - 0x578]
mov edx, dword [ebp - 0x1c]
call fcn.00403e80
ja 0x490054
mov eax, dword [ebp - 4]
add eax, 0xacf9
mov edx, 0x4902dc
call fcn.00402a70
jae 0x4901f6
mov eax, dword [ebp - 4]
add eax, 0xad04
mov edx, 0x4902e8
call fcn.00402a70
jae 0x490079
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x23808]
call fcn.00403b88
mov eax, dword [ebp - 4]
add eax, 0xad04
mov edx, 0x4902e8
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402af4
jne 0x4900a3
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x23804]
call fcn.00403b88
mov eax, dword [ebp - 4]
add eax, 0xad04
mov edx, 0x4902e8
call fcn.00402a70
jbe 0x4900c8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2380c]
call fcn.00403b88
mov eax, dword [ebp - 4]
add eax, 0xacd8
mov edx, 0x4902ec
call fcn.00402a70
ja 0x4900f4
mov eax, dword [ebp - 4]
add eax, 0xacd8
mov edx, 0x4902f4
call fcn.00402a70
jae 0x49021e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xabc4]
test eax, eax
jle 0x49021e
cmp eax, 0x33
jge 0x49021e
mov esi, eax
test esi, esi
jle 0x49021e
mov ebx, 1
lea eax, [ebp - 0x57c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2380c]
call fcn.00403d70
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebp - 0x20]
call fcn.00403f78
mov eax, dword [ebp - 0x57c]
call fcn.00408d80
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xabc4]
add eax, 0x20ad
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x49016b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4901ec
mov eax, dword [ebp - 4]
add eax, 0x23838
mov edx, dword [ebp - 4]
add edx, 0xad33
call fcn.00403d14
mov dword [ebp - 8], 1
lea eax, [ebp - 0x584]
mov edx, dword [ebp - 4]
add edx, 0xacee
call fcn.00403d14
mov eax, dword [ebp - 0x584]
lea edx, [ebp - 0x580]
call fcn.00408af0
mov edx, dword [ebp - 0x580]
mov eax, dword [ebp - 4]
add eax, 0x23834
call fcn.00403b44
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403e80
je 0x49021e
push 0
mov eax, dword [ebp - 0x14]
call fcn.00403f34
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f34
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x49021e
inc ebx
dec esi
jne 0x49011d
jmp 0x49021e
mov eax, dword [ebp - 0xc]
call fcn.00408f14
test al, al
je 0x49020a
mov eax, dword [ebp - 0xc]
call fcn.00408f60
mov eax, dword [ebp - 0x14]
call fcn.00408f14
test al, al
je 0x49021e
mov eax, dword [ebp - 0x14]
call fcn.00408f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490232
mov ebx, dword [ebp - 8]
mov ecx, 1
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.004999d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490286
lea eax, [ebp - 0x584]
mov edx, 6
call fcn.00403b14
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403b14
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403b14
ret