Function at 0x48fb60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x48fb68
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x48fecf
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48fe93
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4a24b4]
cmp dword [eax], 1
je 0x48fbaa
push 0
call sub.kernel32.dll_ExitThread
lea eax, [ebp - 8]
call fcn.0048f7d0
mov eax, dword [ebp - 8]
mov edx, dword [0x4a2310]
call fcn.00405850
je 0x48fe6b
lea eax, [ebp - 0x44]
call fcn.0048f910
lea eax, [ebp - 0x44]
mov edx, 0x48fee8
call fcn.004056f4
mov eax, dword [ebp - 0x44]
call fcn.0040a1d0
test al, al
je 0x48fbf8
mov eax, 0x4a8960
call fcn.00403500
call fcn.0040304c
jmp 0x48fc07
mov eax, 0x4a8960
call fcn.004034f4
call fcn.0040304c
mov edx, dword [0x4a2324]
mov eax, 0x4a8960
call fcn.00405bac
call fcn.00404058
call fcn.0040304c
call fcn.0040bc24
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov edx, dword [0x4a26ac]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
call fcn.0040c858
call fcn.0040bbf8
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [0x4a2528]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
call fcn.0040c858
push 0x48fefc
push dword [0x4a2310]
push 0x48ff14
push 0x48ff20
push 0x48ff2c
push dword [ebp - 0x10]
push 0x48ff3c
push dword [ebp - 0x14]
push 0x48ff20
push dword [0x4a2318]
push 0x48ff20
push dword [0x4a2324]
push 0x48ff20
lea eax, [ebp - 0x48]
mov edx, 0xd
call fcn.004057bc
mov edx, dword [ebp - 0x48]
mov eax, 0x4a8960
call fcn.00405bac
call fcn.00404058
call fcn.0040304c
lea eax, [ebp - 0xc]
call fcn.0048f950
mov eax, dword [ebp - 0xc]
mov edx, dword [0x4a2320]
call fcn.00405850
je 0x48fe52
mov edx, dword [0x4a2324]
mov eax, 0x4a8960
call fcn.00405bac
call fcn.00404058
call fcn.0040304c
mov eax, dword [0x4a2320]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x48fd0d
sub ebx, 4
mov ebx, dword [ebx]
call fcn.0040bc24
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov edx, dword [0x4a26ac]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.0040c858
call fcn.0040bbf8
fstp qword [ebp - 0x40]
wait
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov edx, dword [0x4a2528]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
call fcn.0040c858
push 0x48ff4c
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.00409cd4
push dword [ebp - 0x54]
push 0x48ff74
push 0x48ff20
push 0x48ff2c
push dword [ebp - 0x18]
push 0x48ff3c
push dword [ebp - 0x1c]
push 0x48ff20
push dword [0x4a2320]
push 0x48ff20
push dword [0x4a2324]
push 0x48ff20
lea eax, [ebp - 0x50]
mov edx, 0xd
call fcn.004057bc
mov edx, dword [ebp - 0x50]
mov eax, 0x4a8960
call fcn.00405bac
call fcn.00404058
call fcn.0040304c
mov eax, 0x4a2320
mov edx, dword [ebp - 0xc]
call fcn.0040547c
xor eax, eax
push ebp
push 0x48fe48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a238c]
mov eax, dword [eax]
mov edx, 0x48ff84
call fcn.00405850
jne 0x48fe3e
lea eax, [ebp - 0x58]
call fcn.0048f910
lea eax, [ebp - 0x58]
mov edx, 0x48fee8
call fcn.004056f4
mov eax, dword [ebp - 0x58]
call fcn.0048f84c
push edx
push eax
mov eax, dword [0x4a2370]
mov eax, dword [eax]
call fcn.00409e40
shl eax, 0xa
cdq
cmp edx, dword [esp + 4]
jne 0x48fe22
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48fe3e
jmp 0x48fe26
pop edx
pop eax
jge 0x48fe3e
mov eax, dword [0x4a2828]
push eax
push 0
push 0
push 0x48f974
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48fe52
mov eax, 0x4a8960
call fcn.004038e4
call fcn.0040304c
mov eax, 0x4a2318
call fcn.00405428
mov eax, 0x4a2318
mov edx, dword [ebp - 4]
call fcn.004056f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fe9a
mov eax, 0x4a2310
mov edx, dword [ebp - 8]
call fcn.0040547c
ret