Function at 0x48ee0c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa84
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x578], edx
mov dword [ebp - 0x57c], edx
mov dword [ebp - 0x574], edx
mov dword [ebp - 0x570], edx
mov dword [ebp - 0x568], edx
mov dword [ebp - 0x56c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f251
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00497364
lea eax, [ebx + 0x237c8]
mov edx, 0x48f26c
call fcn.00403b54
lea edx, [ebp - 0x56c]
mov eax, dword [0x4a8b24]
mov eax, dword [eax]
call fcn.0044f504
mov eax, dword [ebp - 0x56c]
lea edx, [ebp - 0x568]
call fcn.004090a0
mov edx, dword [ebp - 0x568]
lea eax, [ebp - 8]
mov ecx, 0x48f280
call fcn.00403dcc
lea eax, [ebp - 0x10]
mov ecx, 0x48f280
mov edx, dword [ebx + 0x23784]
call fcn.00403dcc
lea eax, [ebp - 0xc]
mov ecx, 0x48f294
mov edx, dword [ebx + 0x23780]
call fcn.00403dcc
mov eax, dword [ebp - 8]
call fcn.00408fbc
test al, al
jne 0x48eee4
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00403b98
push 0x3e8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049ab8c
dec eax
jne 0x48f20a
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x164]
call fcn.00405eba
mov eax, dword [0x4a8bb8]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x164]
call fcn.00406369
call fcn.0040285c
mov edx, 0x400
lea eax, [ebp - 0x164]
call fcn.004063a0
call fcn.0040285c
push 0
lea edx, [ebp - 0x11]
mov ecx, 1
lea eax, [ebp - 0x164]
call fcn.00405f5c
call fcn.0040285c
push 0
lea edx, [ebp - 0x564]
mov ecx, 0x400
lea eax, [ebp - 0x164]
call fcn.00405f5c
call fcn.0040285c
lea eax, [ebp - 0x164]
call fcn.00406024
call fcn.0040285c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x164]
call fcn.00405eba
mov edx, 1
lea eax, [ebp - 0x164]
call fcn.00406380
call fcn.0040285c
push 0
lea edx, [ebp - 0x564]
mov ecx, 0x400
lea eax, [ebp - 0x164]
call fcn.00405fc0
call fcn.0040285c
lea eax, [ebp - 0x164]
call fcn.00406024
call fcn.0040285c
push 2
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049ab8c
dec eax
jne 0x48f20a
mov esi, 0x400
lea eax, [ebp - 0x564]
mov dl, byte [ebp - 0x11]
sub byte [eax], dl
inc eax
dec esi
jne 0x48eff3
mov edx, 1
lea eax, [ebp - 0x164]
call fcn.00406380
call fcn.0040285c
push 0
lea edx, [ebp - 0x564]
mov ecx, 0x400
lea eax, [ebp - 0x164]
call fcn.00405fc0
call fcn.0040285c
mov edx, 0xa
lea eax, [ebp - 0x164]
call fcn.004063a0
call fcn.0040285c
push 0
lea edx, [ebx + 0xab30]
mov ecx, 0x1b0
lea eax, [ebp - 0x164]
call fcn.00405f5c
call fcn.0040285c
lea eax, [ebp - 0x164]
call fcn.00406024
call fcn.0040285c
mov eax, dword [ebp - 0xc]
call fcn.00409008
call fcn.00409ee4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
mov edx, 0x48f2a4
call fcn.0040aa9c
lea eax, [ebp - 0x570]
lea edx, [ebx + 0xac91]
call fcn.00403d24
mov eax, dword [ebp - 0x570]
mov edx, dword [ebp - 0x18]
call fcn.00403e90
ja 0x48f0c8
lea eax, [ebx + 0xac91]
mov edx, 0x48f2b0
call fcn.00402a80
jae 0x48f1e2
lea eax, [ebx + 0xac70]
mov edx, 0x48f2bc
call fcn.00402a80
ja 0x48f0f0
lea eax, [ebx + 0xac70]
mov edx, 0x48f2c0
call fcn.00402a80
jae 0x48f20a
mov eax, dword [ebx + 0xab5c]
test eax, eax
jle 0x48f20a
cmp eax, 0x33
jge 0x48f20a
mov edi, eax
test edi, edi
jle 0x48f20a
mov esi, 1
lea eax, [ebp - 0x574]
push eax
mov eax, dword [ebx + 0x2379c]
call fcn.00403d80
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebx + 0x2379c]
call fcn.00403f88
mov eax, dword [ebp - 0x574]
call fcn.00408da8
push edx
push eax
mov eax, dword [ebx + esi*4 + 0xab5c]
add eax, 0x20ad
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x48f161
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48f1d8
lea eax, [ebx + 0x237c8]
lea edx, [ebx + 0xaccb]
call fcn.00403d24
mov dword [ebp - 4], 1
lea eax, [ebp - 0x57c]
lea edx, [ebx + 0xac86]
call fcn.00403d24
mov eax, dword [ebp - 0x57c]
lea edx, [ebp - 0x578]
call fcn.00408b18
mov edx, dword [ebp - 0x578]
lea eax, [ebx + 0x237c4]
call fcn.00403b54
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00403e90
je 0x48f20a
push 0
mov eax, dword [ebp - 0x10]
call fcn.00403f44
push eax
mov eax, dword [ebp - 8]
call fcn.00403f44
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x48f20a
inc esi
dec edi
jne 0x48f116
jmp 0x48f20a
mov eax, dword [ebp - 8]
call fcn.00408fbc
test al, al
je 0x48f1f6
mov eax, dword [ebp - 8]
call fcn.00409008
mov eax, dword [ebp - 0x10]
call fcn.00408fbc
test al, al
je 0x48f20a
mov eax, dword [ebp - 0x10]
call fcn.00409008
mov esi, dword [ebp - 4]
mov ecx, 1
mov edx, 4
mov eax, ebx
call fcn.004973a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f258
lea eax, [ebp - 0x57c]
mov edx, 6
call fcn.00403b24
lea eax, [ebp - 0x18]
call fcn.00403b00
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403b24
ret