Function at 0x450d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeb89
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5036c4]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x200bc]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x50], eax
call fcn.00490dd5
add esp, 4
test eax, eax
je 0x450da2
push eax
call fcn.004911de
add esp, 4
mov byte [ebp - 0x4c], 1
cmp dword [edi + 0x200b8], 0
mov byte [ebp - 4], 2
jne 0x450dcf
push 0
push 0
push edi
push 0x453850
push 0
push 0
call fcn.00477e16
add esp, 0x18
mov dword [edi + 0x200b8], eax
push 0x14
call fcn.0043b792
mov ebx, eax
add esp, 4
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x450e04
push dword [ebp - 0x3c]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00420570
push ebx
mov ecx, edi
call fcn.00451270
mov dword [ebp - 0x3c], eax
jmp 0x450e0b
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.0043b792
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x450e2f
mov ecx, eax
call fcn.00452750
mov ebx, eax
jmp 0x450e31
xor ebx, ebx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00458710
cmp dword [edi + 4], 0
je 0x450f68
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
mov dword [ebp - 0x30], 0xa
call fcn.00458ee0
lea eax, [ebp - 0x48]
mov dword [esi], 0
cmp esi, eax
je 0x450e8e
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x44]
mov byte [esi + 4], al
jmp 0x450e91
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
mov byte [esi + 4], 1
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x450ecd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x450ec3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4510b0
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov byte [ebp - 4], 8
test edi, edi
je 0x450ef6
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x450ef6
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x450eee
mov eax, dword [ecx]
push edi
jmp 0x450ef4
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.00490dfa
add esp, 4
test eax, eax
je 0x450f12
push eax
call fcn.004911de
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x450f31
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x451090
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451086
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4510b5
jmp 0x451086
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x90], 0x4509f0
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x450fa4
mov eax, dword [ecx]
lea edx, [ebp - 0x80]
push edx
call dword [eax]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
push eax
call fcn.004516c0
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x450fe3
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x20090]
call fcn.00458b40
lea eax, [ebp - 0x48]
mov dword [esi], 0
cmp esi, eax
je 0x451012
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x44]
mov byte [esi + 4], al
jmp 0x451015
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x451031
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0xf
test edi, edi
je 0x45105a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x45105a
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x451052
mov eax, dword [ecx]
push edi
jmp 0x451058
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.00490dfa
add esp, 4
test eax, eax
je 0x451076
push eax
call fcn.004911de
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x450f31
jmp 0x450f19
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov eax, esi
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.0043ba78
mov esp, ebp
pop ebp
ret 0x50
call fcn.0046d258
call fcn.0046d258
int3