Function at 0x4312e0
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b95e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
lea esi, [edi + 0x58]
mov dword [edi + 0x50], 0
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
mov dword [esp + 0x1c], 0xffffffff
jbe 0x431332
call fcn.0049445b
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x43133f
call fcn.0049445b
push ebx
push esi
push ebp
push esi
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00431820
xor esi, esi
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 0x10]
xor ebx, ebx
cmp ecx, ebx
je 0x43143a
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x43143a
cmp ecx, ebx
je 0x431381
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x431386
call fcn.0049445b
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + esi*4]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
lea ebx, [esi + 8]
mov dword [esp + 0x24], esi
mov ebp, eax
lea ebx, [ebx]
test ebx, ebx
mov edi, dword [ebx + 4]
je 0x4313ab
cmp ebx, ebx
je 0x4313b0
call fcn.0049445b
cmp ebp, edi
je 0x431428
test ebx, ebx
push esi
jne 0x4313be
call fcn.0049445b
cmp ebp, dword [ebx + 4]
jne 0x4313c8
call fcn.0049445b
sub esp, 0x30
mov edx, esp
mov dword [esp + 0x5c], esp
lea edi, [ebp + 8]
push edx
call fcn.00431130
lea esi, [esp + 0x74]
call fcn.00431bc0
add esp, 0x34
mov esi, dword [esp + 0x20]
push eax
add esi, 0x58
mov dword [esp + 0x84], 0
call fcn.004316d0
lea eax, [esp + 0x40]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042b150
cmp ebp, dword [ebx + 4]
jne 0x43141c
call fcn.0049445b
mov ebp, dword [ebp]
mov esi, dword [esp + 0x24]
jmp 0x4313a0
add dword [esp + 0x18], 1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
jmp 0x431354
mov eax, dword [edi + 0x5c]
cmp eax, ebx
je 0x4315fb
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1e
jbe 0x4315fb
mov esi, dword [edi + 0x4c]
cmp esi, ebx
jbe 0x4315fb
cmp dword [edi + 0x54], ebx
je 0x4315fb
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x80], 1
mov eax, dword [edi + 0x5c]
cmp eax, ebx
jne 0x43149a
xor eax, eax
jmp 0x4314b0
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, 0xffffffff
cmp esi, eax
jae 0x4314bb
mov eax, esi
jmp 0x4314df
mov eax, dword [edi + 0x5c]
cmp eax, ebx
jne 0x4314c6
xor eax, eax
jmp 0x4314dc
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, 0xffffffff
cmp eax, ebx
jbe 0x43157c
mov dword [esp + 0x20], eax
mov ebp, fcn.00431620
push 0xc
call fcn.00493965
add esp, 4
test eax, eax
je 0x431520
push 0
push 0
push eax
push 0x431cd0
lea ecx, [esp + 0x2c]
push 0
push 0
mov dword [eax], edi
mov dword [eax + 8], ecx
mov dword [eax + 4], ebp
call fcn.004962a1
add esp, 0x18
mov ebx, dword [esp + 0x34]
test ebx, ebx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
je 0x43154f
mov edx, dword [esp + 0x3c]
mov ecx, esi
sub ecx, ebx
sub edx, ebx
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x43154f
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x38], esi
jmp 0x431571
cmp ebx, esi
jbe 0x431558
call fcn.0049445b
push esi
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
call fcn.0045de40
sub dword [esp + 0x20], 1
jne 0x4314f0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00431620
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43159d
mov ecx, dword [esp + 0x38]
mov edx, ecx
sub edx, eax
sar edx, 2
jne 0x4315aa
call fcn.0049445b
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4315b2
xor ecx, ecx
jmp 0x4315b7
sub ecx, eax
sar ecx, 2
push 0xffffffffffffffff
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x4315d0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x431607
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4315f0
mov eax, dword [ecx + esi*4]
push eax
call ebx
add esi, 1
jmp 0x4315d0
push ecx
call fcn.004935b1
add esp, 4
jmp 0x431607
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00431620
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret