Function at 0x451d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x451d38
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x452063
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x154], 0
jne 0x451d8c
mov dl, 1
mov eax, dword [0x435d68]
call fcn.0043e234
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x154
mov edx, ebx
test edx, edx
je 0x451d87
sub edx, 0xffffffc0
call fcn.0040872c
mov eax, esi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x154]
call fcn.0040872c
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x174], 0
je 0x45202a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x154]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x45202a
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x154]
call fcn.0040872c
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x154]
mov ecx, 0x452074
call fcn.00408758
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.00451b3c
pop ecx
lea ecx, [ebp - 0x14]
mov edx, 0x452090
mov eax, dword [ebp - 0xc]
call fcn.0043cb04
mov dl, 0x7c
mov eax, dword [ebp - 0x14]
call fcn.0040dd24
test eax, eax
jle 0x451ebf
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
xor eax, eax
push ebp
push 0x451ea9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov cl, 0x7c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.0040dde8
mov eax, dword [0x554c98]
call fcn.00407c58
mov esi, eax
test esi, esi
jl 0x451e9f
inc esi
xor ebx, ebx
mov edi, ebx
add edi, edi
add edi, edi
add edi, edi
sub edi, ebx
mov eax, dword [0x554c98]
mov eax, dword [eax + edi*4]
mov edx, dword [ebp - 0x10]
call fcn.0040c114
test al, al
je 0x451e9b
mov eax, dword [0x554c98]
cmp byte [eax + edi*4 + 0x18], 0
je 0x451e9f
push ebp
mov eax, dword [0x554c98]
mov eax, dword [eax + edi*4]
mov edx, 0x4520a4
call fcn.00451444
pop ecx
jmp 0x451e9f
inc ebx
dec esi
jne 0x451e5b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451eb3
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x451e29
mov eax, dword [ebp - 0xc]
call fcn.00439cf8
test al, al
je 0x451ee8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
je 0x451ee8
push ebp
mov edx, 0x4520a4
mov eax, 0x4520cc
call fcn.00451444
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00439d18
test al, al
je 0x451f11
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
je 0x451f11
push ebp
mov edx, 0x4520a4
mov eax, 0x4520e8
call fcn.00451444
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00439d3c
test al, al
je 0x451f37
cmp dword [0x548448], 0
je 0x451f37
push ebp
mov edx, 0x4520a4
mov eax, 0x452100
call fcn.00451444
pop ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
push ebp
push 0x451f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x451f83
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 0x451f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451f97
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x1c8], 0
jne 0x45202a
call fcn.004095cc
cmp eax, dword [0x548cd8]
jne 0x451fec
mov eax, 0xfa
call fcn.00431750
test al, al
jne 0x451fec
mov eax, dword [ebp - 0xc]
add eax, 0x1ac
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push fcn.00450bdc
push 0
push 0
call fcn.0040947c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1a8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1a8]
test eax, eax
jne 0x452022
mov eax, dword [ebp - 0xc]
call fcn.00439164
test al, al
je 0x452017
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b4]
mov cl, 1
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 0xc]
push eax
call fcn.00450bdc
jmp 0x45202a
push 1
push eax
call fcn.00409928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45206a
lea eax, [ebp - 0x24]
call fcn.00408714
lea eax, [ebp - 0x18]
call fcn.00408714
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040584c
lea eax, [ebp - 4]
mov edx, dword [0x451410]
call fcn.00407f38
ret