Function at 0x4624cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4624d4
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46281e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1a4], 0
jne 0x462528
mov dl, 1
mov eax, dword [0x43b508]
call fcn.00443718
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x1a4
mov edx, ebx
test edx, edx
je 0x462523
sub edx, 0xffffffc0
call fcn.004087bc
mov eax, esi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1a4]
call fcn.004087bc
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1c4], 0
je 0x4627e5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1a4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4627e5
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1a4]
call fcn.004087bc
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1a4]
mov ecx, 0x46282c
call fcn.004087e8
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 8], eax
push ebp
call fcn.00462214
pop ecx
lea ecx, [ebp - 0x14]
mov edx, 0x462848
mov eax, dword [ebp - 0xc]
call fcn.004420e0
mov ebx, dword [0x557330]
mov ebx, dword [ebx]
mov dl, 0x7c
mov eax, dword [ebp - 0x14]
call ebx
test eax, eax
jle 0x46266a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
xor eax, eax
push ebp
push 0x462654
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov ebx, dword [0x5573f8]
mov ebx, dword [ebx]
mov cl, 0x7c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call ebx
mov eax, dword [0x55bcb0]
call fcn.00407ce8
mov esi, eax
test esi, esi
jl 0x46264a
inc esi
xor ebx, ebx
mov edi, ebx
add edi, edi
add edi, edi
add edi, edi
sub edi, ebx
mov eax, dword [0x55bcb0]
mov eax, dword [eax + edi*4]
mov ecx, dword [0x556e80]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
call ecx
test al, al
je 0x462646
mov eax, dword [0x55bcb0]
cmp byte [eax + edi*4 + 0x18], 0
je 0x46264a
push ebp
mov eax, dword [0x55bcb0]
mov eax, dword [eax + edi*4]
mov edx, 0x46285c
call fcn.0046196c
pop ecx
jmp 0x46264a
inc ebx
dec esi
jne 0x462601
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46265e
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4625ca
mov eax, dword [ebp - 0xc]
call fcn.0043fba4
test al, al
je 0x462693
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
je 0x462693
push ebp
mov edx, 0x46285c
mov eax, 0x4628a0
call fcn.0046196c
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.0043fbc4
test al, al
je 0x4626bc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
je 0x4626bc
push ebp
mov edx, 0x46285c
mov eax, 0x4628c8
call fcn.0046196c
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.0043fbe8
test al, al
je 0x4626e2
cmp dword [0x54c5e8], 0
je 0x4626e2
push ebp
mov edx, 0x46285c
mov eax, 0x4628ec
call fcn.0046196c
pop ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
push ebp
push 0x462738
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x46272e
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*8 + 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov edx, dword [eax + edx*8]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x28]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x46270b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462742
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x218], 0
jne 0x4627e5
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x219], 0
jne 0x462773
call sub.kernel32.dll_GetCurrentThreadId_1
cmp eax, dword [0x54cfb8]
jne 0x4627a7
mov eax, 0xfa
call fcn.00436478
test al, al
jne 0x4627a7
mov eax, dword [ebp - 0xc]
add eax, 0x1fc
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push fcn.00460e9c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1f8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1f8]
test eax, eax
jne 0x4627dd
mov eax, dword [ebp - 0xc]
call fcn.0043edf4
test al, al
je 0x4627d2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x204]
mov cl, 1
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 0xc]
push eax
call fcn.00460e9c
jmp 0x4627e5
push 1
push eax
call sub.kernel32.dll_SetThreadPriority
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462825
lea eax, [ebp - 0x24]
call fcn.004087a4
lea eax, [ebp - 0x18]
call fcn.004087a4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004066d0
lea eax, [ebp - 4]
mov edx, dword [0x461938]
call fcn.00407fc8
ret