Function at 0x453e9d
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x480dc1
call fcn.00464ec2
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x88c], ebx
je 0x4542ee
cmp dword [esi + 0x878], ebx
jne 0x453f58
mov al, 1
call fcn.0043502e
mov dword [esi + 0x880], eax
mov al, 1
call fcn.0043502e
lea edi, [esi + 0x87c]
push edi
push 4
push esi
push 0x453c11
push ebx
push ebx
mov dword [esi + 0x884], eax
call fcn.00461412
add esp, 0x18
cmp dword [edi], ebx
mov dword [esi + 0x878], eax
jne 0x453f40
mov ecx, dword [esi + 0x88c]
cmp ecx, ebx
je 0x453f13
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esi + 0x880]
mov edi, dword [0x4822f8]
mov dword [esi + 0x88c], ebx
call edi
push dword [esi + 0x884]
mov dword [esi + 0x880], ebx
call edi
mov dword [esi + 0x884], ebx
jmp 0x4542ee
push eax
call dword [0x4822ec]
call dword [0x48220c]
mov dword [esi + 0x890], eax
jmp 0x4542ee
push ebx
push dword [esi + 0x884]
call dword [0x482348]
test eax, eax
jne 0x4542ee
push dword [esi + 0x878]
call dword [0x4822f8]
mov eax, dword [esi + 0x88c]
mov dword [esi + 0x878], ebx
mov ecx, dword [eax + 4]
xor edi, edi
mov dword [esi + 0x9ec], ecx
mov ecx, dword [esi + 0x894]
inc edi
cmp ecx, edi
jne 0x45423c
call dword [0x48220c]
sub eax, dword [esi + 0x890]
lea edi, [esi + 0x24]
mov dword [esi + 0x9a4], eax
mov eax, dword [esi + 0x88c]
push dword [eax + 4]
push dword [edi]
push 0x48d69c
push 0x10
call fcn.0044b6ca
mov ecx, dword [esi + 0x88c]
add esp, 0x10
cmp dword [ecx + 4], ebx
jl 0x454206
lea eax, [esi + 0x34]
push eax
lea eax, [esi + 0x90]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00414814
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov edx, eax
or edx, ecx
je 0x454097
cmp eax, dword [ebp - 0x20]
jne 0x454018
cmp ecx, dword [ebp - 0x1c]
je 0x454097
cmp dword [esi + 0x3c4], 0x30
mov byte [ebp - 0xd], bl
ja 0x45408c
mov ecx, esi
call fcn.004547ad
lea ebx, [esi + 0x6c]
push 1
push ebx
call fcn.00449b2c
mov eax, dword [ebx]
pop ecx
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov edi, esp
call fcn.00401afa
add eax, 0x10
mov dword [edi], eax
call fcn.004356b4
pop ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x48d6b8
push 0x10
call fcn.0044b6ca
add esp, 0x10
push dword [ebp - 0x1c]
mov dword [esi + 0x3c4], 0x30
push dword [ebp - 0x20]
push esi
call fcn.0045653d
mov ebx, esi
call fcn.00453d76
mov ecx, esi
call fcn.00453591
xor ebx, ebx
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
jne 0x4540ec
xor eax, eax
jmp 0x4540f1
push 0x30
pop edi
cmp dword [esi + 0x3c4], edi
mov byte [ebp - 0xd], 1
ja 0x4540c1
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x48d6b8
push 0x10
call fcn.0044b6ca
add esp, 0x10
mov dword [esi + 0x3c4], edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.0045653d
cmp dword [esi + 0x30], 5
jne 0x45408c
mov ecx, esi
call fcn.00453591
test al, al
jne 0x45408c
xor ebx, ebx
push 5
inc ebx
mov edi, esi
call fcn.00456415
jmp 0x45408a
mov eax, dword [esi + 0x3c]
sub eax, ecx
push eax
push dword [esi + 0x84]
push dword [esi + 0x80]
push dword [esi + 0x24]
push 0x48d6dc
push 0x10
pop edi
push edi
call fcn.0044b6ca
add esp, 0x18
cmp dword [esi + 0x3c4], 0x30
jbe 0x454124
cmp byte [ebp - 0xd], bl
je 0x4542b0
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0x20
jne 0x4541d7
push ecx
mov dword [ebp - 0x14], edi
add eax, 0xfffffff0
lea ebx, [esi + 0x424]
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.00413ae0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x14]
call fcn.0043b253
pop ecx
push 0x10
lea eax, [esi + 0x900]
push ebx
push eax
mov byte [esi + 0x19], 1
call fcn.0045ce70
lea edi, [esi + 0x68]
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x4541b6
mov esi, dword [esi + 0x70]
push ecx
sub esi, 0x10
mov eax, esi
mov dword [ebp - 0x1c], esp
mov ebx, esp
call fcn.00413ae0
add eax, 0x10
lea esi, [ebp - 0x18]
mov dword [ebx], eax
call fcn.0043981d
pop ecx
and dword [ebp - 4], 0
push dword [eax]
push edi
call fcn.0040196f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401144
mov esi, dword [ebp + 8]
push 0
push 4
pop ebx
mov edi, esi
call fcn.00456415
mov ecx, esi
call fcn.00453591
mov ecx, esi
call fcn.0044f267
xor ebx, ebx
jmp 0x4542b0
cmp byte [esi + 0x19], bl
jne 0x4542b0
mov ecx, dword [esi + 0x30]
push 2
pop eax
cmp ecx, eax
je 0x4541f3
cmp ecx, 1
jne 0x4542b0
push dword [esi + 0x24]
mov dword [esi + 0x3bc], eax
push 0x48d70c
jmp 0x4542a7
cmp byte [esi + 0x19], bl
jne 0x454231
mov ecx, dword [esi + 0x30]
push 2
pop eax
cmp ecx, eax
je 0x45421a
cmp ecx, 1
jne 0x454231
push dword [edi]
mov dword [esi + 0x3bc], eax
push 0x48d70c
push 0x10
call fcn.0044b6ca
add esp, 0xc
push dword [edi]
push 0x48d72c
push 0x14
jmp 0x4542a8
cmp ecx, 2
jne 0x45424b
push dword [esi + 0x24]
push 0x48d744
jmp 0x4542a7
cmp ecx, 3
jne 0x4542b0
push dword [eax + 4]
push dword [esi + 0x24]
push 0x48d760
push edi
call fcn.0044b6ca
mov eax, dword [esi + 0x88c]
mov eax, dword [eax + 4]
add esp, 0x10
cmp eax, 0xffffff9b
jne 0x45428f
push dword [esi + 0x24]
push 0x48d780
push edi
call fcn.0044b6ca
add esp, 0xc
or dword [esi + 0x3c0], 0x180
jmp 0x4542b0
cmp eax, ebx
jne 0x45429f
or dword [esi + 0x3c0], 0x100
jmp 0x4542b0
push dword [esi + 0x24]
push 0x48d794
push edi
call fcn.0044b6ca
add esp, 0xc
push dword [esi + 0x884]
call dword [0x4822f8]
lea edi, [esi + 0x880]
push dword [edi]
mov dword [esi + 0x884], ebx
call dword [0x4822f8]
mov ecx, dword [esi + 0x88c]
cmp ecx, ebx
mov dword [edi], ebx
je 0x4542e2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x88c], ebx
mov dword [esi + 0x894], ebx
call fcn.00464f9a
ret 4