Function at 0x4635d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e1e3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x463625
mov dword [ecx + 0x24], 0
mov eax, dword [edi + 4]
mov dword [ecx + 0x18], eax
mov eax, dword [ecx]
mov dword [ecx + 0x1c], 0
call dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
mov dword [ebp - 0x58], eax
cmp eax, esi
je 0x463729
add edi, 0xa4
nop word [eax + eax]
lea ebx, [eax + 0x10]
push ebx
lea ecx, [ebp - 0x54]
call fcn.0041aa80
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0046d1e0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041aa80
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x10]
inc eax
cmp dword [edi + 8], eax
ja 0x463687
push ecx
mov ecx, edi
call fcn.00463ef0
mov eax, dword [edi + 8]
dec eax
and dword [edi + 0xc], eax
mov ecx, dword [edi + 0x10]
add ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
dec eax
and eax, ecx
mov ecx, dword [edi + 4]
cmp dword [ecx + eax*4], 0
lea ebx, [eax*4]
jne 0x4636bd
push 0x18
call fcn.004ca790
mov ecx, dword [edi + 4]
add esp, 4
mov dword [ebx + ecx], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + ebx]
lea eax, [ebp - 0x28]
push eax
call fcn.0041aa80
inc dword [edi + 0x10]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x463704
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4636fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463a70
push edx
push ecx
call fcn.004ca782
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.00463a80
lea ecx, [ebp - 0x58]
call fcn.0043c520
mov eax, dword [ebp - 0x58]
cmp eax, esi
jne 0x463640
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [edi + 0xbc], eax
mov eax, dword [ebp - 0x68]
push 4
push 6
mov dword [ebp - 0x8c], ebx
mov dword [edi + 0xc0], eax
call fcn.004effff
mov edx, dword [edi + 0xbc]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x58], eax
call fcn.0043a450
mov esi, eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x88]
push 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
call fcn.004ca790
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x88]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x88]
mov dword [eax], ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov eax, dword [edi + 0xb4]
sub esp, 0xc
add eax, dword [edi + 0xb0]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xa4]
mov dword [ecx], eax
mov ecx, esp
mov eax, dword [edi + 0xb0]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xa4]
mov dword [ecx], eax
lea ecx, [ebp - 0x88]
call fcn.004641e0
cmp dword [esi + 0x14], 8
jb 0x463820
mov esi, dword [esi]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x64], 6
mov edx, 0x579f38
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.004397a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.00464840
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x463885
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x463885
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x463885
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x88]
call fcn.00463da0
push 8
push dword [ebp - 0x88]
call fcn.004ca782
add esp, 8
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b400
mov ebx, dword [ebp - 0x58]
xor esi, esi
nop
push 0
push 0
push dword [ebp - 0x60]
push 0x461c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, 6
jl 0x4638c0
mov ebx, dword [ebp - 0x8c]
xor esi, esi
mov edi, dword [ebp - 0x58]
nop word [eax + eax]
push 0xffffffffffffffff
push dword [edi + esi*4]
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x5c]
push eax
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
movzx ebx, bl
cmp dword [ebp - 0x5c], eax
cmovne ebx, eax
inc esi
cmp esi, 6
jl 0x4638f0
push dword [ebp - 0x58]
call fcn.004ef010
add esp, 4
lea ecx, [ebp - 0x70]
mov edx, 0x573cd8
call fcn.004397a0
push str.Threads_completed
mov dword [ebp - 4], 8
mov ecx, dword [eax]
push 2
call fcn.0041ed30
mov dword [ebp - 4], 9
mov edi, 0xffffffff
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x463988
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x463988
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x463988
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], edi
test bl, bl
jne 0x463a44
mov edx, 0x573cd8
lea ecx, [ebp - 0x70]
call fcn.004397a0
push str.Thread_failures_detected__exiting
mov dword [ebp - 4], 0xa
mov ecx, dword [eax]
push 3
call fcn.0041ed30
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x4639e1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4639e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4639e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov edx, dword [eax + 0xbc]
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463a10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041b490
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xc
call fcn.00489e10
lea ecx, [ebp - 0x28]
call fcn.0041b400
xor al, al
jmp 0x463a52
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x463a50
mov eax, dword [ecx]
call dword [eax + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 8
call fcn.004eefc0
int3