Function at 0x447120
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475d36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
call fcn.004470a0
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov ecx, dword [edi + 0x68]
sar eax, 2
cmp ecx, eax
jbe 0x447181
cmp ecx, 0x3fffffff
ja 0x447414
push ecx
mov ecx, edi
call fcn.0040baf0
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [edi + 0x68], esi
jle 0x4473ff
nop
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x5f74]
mov dword [ebp - 0x14], eax
sub eax, 0
je 0x447247
sub eax, 1
je 0x4471fd
mov edx, 2
lea ecx, [ebp - 0xf0]
call fcn.00409e60
mov edx, str.unknown_thread_type_:
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.0040d300
push dword [ebp - 0x14]
lea ecx, [ebp - 0xf0]
call fcn.0040a590
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.00409d80
mov dword [ebp - 0x14], 0
jmp 0x4473ec
push 0x2622b8
call fcn.0042272b
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
push dword [ebx + 8]
mov ecx, esi
mov dword [ebp - 4], 3
push edi
push 1
push dword [ebp - 0x18]
call fcn.004477e0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x2094b0]
mov dword [esi], vtable.Cheese::ChessSearchThreadLazy.0
call fcn.00412e40
mov dword [ebp - 4], 0xffffffff
jmp 0x44735f
push 0x529748
call fcn.0042272b
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
push dword [ebx + 8]
mov ecx, edi
mov dword [ebp - 4], 0
push dword [ebp - 0x1c]
push 0
push esi
call fcn.004477e0
push 0x409d50
push 0x413270
mov byte [ebp - 4], 1
lea eax, [edi + 0x2094c0]
push 8
push 0x88
mov dword [edi], vtable.Cheese::ChessSearchThreadYBWC.0
mov dword [edi + 0x2094b0], 0
mov dword [edi + 0x2094b4], 0
push eax
mov dword [edi + 0x2094b8], 0
mov dword [ebp - 0x28], eax
call fcn.00422d48
lea esi, [edi + 0x209900]
mov byte [ebp - 4], 2
mov edi, 9
nop word [eax + eax]
push 0x412ed0
push 0x80
lea ecx, [esi + 0x808]
mov dword [esi], 0
mov edx, 0x908
call fcn.004088d0
lea ecx, [esi + 0x48c08]
call fcn.0046a9b0
lea esi, [esi + 0x58e08]
sub edi, 1
jne 0x4472d0
mov edi, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov ecx, 0x7fff8
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movups xmm0, xmmword [ebp - 0x50]
mov dword [ebp - 0x38], 0
lea esi, [edi + 0x94b0]
mov dword [ebp - 0x34], 0
movups xmmword [edi + 0x94b0], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edi + 0x94c0], xmm0
add edi, 0x94d0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4473ec
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x44737a
mov dword [eax], esi
add dword [edi + 4], 4
jmp 0x447389
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, edi
call fcn.0040d950
mov esi, dword [ebp - 0x14]
lea ecx, [esi + 0x68]
xor al, al
xchg byte [ecx], al
push 8
call fcn.0042272b
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [eax], esi
mov dword [eax + 4], 0x40da97
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 6
push ecx
push 0
push eax
push 0x40da40
push 0
push 0
call fcn.00427567
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x44741e
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0xc], 0
jne 0x447419
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [edi + 0x68]
jge 0x4473ff
mov esi, ecx
jmp 0x447190
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004091e0
call fcn.0042966c
push 6
mov dword [ebp - 0x20], 0
call fcn.00420f0b
int3