Function at 0x449a80
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x475ff3
call fcn.0045a922
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x88c], ebx
je 0x449ed1
cmp dword [esi + 0x878], ebx
jne 0x449b3b
mov al, 1
call fcn.0042b78a
mov dword [esi + 0x880], eax
mov al, 1
call fcn.0042b78a
lea edi, [esi + 0x87c]
push edi
push 4
push esi
push 0x4497f4
push ebx
push ebx
mov dword [esi + 0x884], eax
call fcn.00456d02
add esp, 0x18
cmp dword [edi], ebx
mov dword [esi + 0x878], eax
jne 0x449b23
mov ecx, dword [esi + 0x88c]
cmp ecx, ebx
je 0x449af6
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esi + 0x880]
mov edi, dword [0x478288]
mov dword [esi + 0x88c], ebx
call edi
push dword [esi + 0x884]
mov dword [esi + 0x880], ebx
call edi
mov dword [esi + 0x884], ebx
jmp 0x449ed1
push eax
call dword [0x478278]
call dword [0x478268]
mov dword [esi + 0x890], eax
jmp 0x449ed1
push ebx
push dword [esi + 0x884]
call dword [0x4782b4]
test eax, eax
jne 0x449ed1
push dword [esi + 0x878]
call dword [0x478288]
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 0x449e1f
call dword [0x478268]
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 0x482204
push 0x10
call fcn.00441d30
mov ecx, dword [esi + 0x88c]
add esp, 0x10
cmp dword [ecx + 4], ebx
jl 0x449de9
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.0040a972
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov edx, eax
or edx, ecx
je 0x449c7a
cmp eax, dword [ebp - 0x20]
jne 0x449bfb
cmp ecx, dword [ebp - 0x1c]
je 0x449c7a
cmp dword [esi + 0x3c4], 0x30
mov byte [ebp - 0xd], bl
ja 0x449c6f
mov ecx, esi
call fcn.0044a388
lea ebx, [esi + 0x6c]
push 1
push ebx
call fcn.004401cb
mov eax, dword [ebx]
pop ecx
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov edi, esp
call fcn.00401a0e
add eax, 0x10
mov dword [edi], eax
call fcn.0042be26
pop ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x482220
push 0x10
call fcn.00441d30
add esp, 0x10
push dword [ebp - 0x1c]
mov dword [esi + 0x3c4], 0x30
push dword [ebp - 0x20]
push esi
call fcn.0044c118
mov ebx, esi
call fcn.00449959
mov ecx, esi
call fcn.00449174
xor ebx, ebx
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
jne 0x449ccf
xor eax, eax
jmp 0x449cd4
push 0x30
pop edi
cmp dword [esi + 0x3c4], edi
mov byte [ebp - 0xd], 1
ja 0x449ca4
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x482220
push 0x10
call fcn.00441d30
add esp, 0x10
mov dword [esi + 0x3c4], edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.0044c118
cmp dword [esi + 0x30], 5
jne 0x449c6f
mov ecx, esi
call fcn.00449174
test al, al
jne 0x449c6f
xor ebx, ebx
push 5
inc ebx
mov edi, esi
call fcn.0044bff0
jmp 0x449c6d
mov eax, dword [esi + 0x3c]
sub eax, ecx
push eax
push dword [esi + 0x84]
push dword [esi + 0x80]
push dword [esi + 0x24]
push 0x482244
push 0x10
pop edi
push edi
call fcn.00441d30
add esp, 0x18
cmp dword [esi + 0x3c4], 0x30
jbe 0x449d07
cmp byte [ebp - 0xd], bl
je 0x449e93
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0x20
jne 0x449dba
push ecx
mov dword [ebp - 0x14], edi
add eax, 0xfffffff0
lea ebx, [esi + 0x424]
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.00409c49
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x14]
call fcn.00431a32
pop ecx
push 0x10
lea eax, [esi + 0x900]
push ebx
push eax
mov byte [esi + 0x19], 1
call fcn.00452940
lea edi, [esi + 0x68]
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x449d99
mov esi, dword [esi + 0x70]
push ecx
sub esi, 0x10
mov eax, esi
mov dword [ebp - 0x1c], esp
mov ebx, esp
call fcn.00409c49
add eax, 0x10
lea esi, [ebp - 0x18]
mov dword [ebx], eax
call fcn.00430000
pop ecx
and dword [ebp - 4], 0
push dword [eax]
push edi
call fcn.0040187d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040113b
mov esi, dword [ebp + 8]
push 0
push 4
pop ebx
mov edi, esi
call fcn.0044bff0
mov ecx, esi
call fcn.00449174
mov ecx, esi
call fcn.004458cc
xor ebx, ebx
jmp 0x449e93
cmp byte [esi + 0x19], bl
jne 0x449e93
mov ecx, dword [esi + 0x30]
push 2
pop eax
cmp ecx, eax
je 0x449dd6
cmp ecx, 1
jne 0x449e93
push dword [esi + 0x24]
mov dword [esi + 0x3bc], eax
push 0x482274
jmp 0x449e8a
cmp byte [esi + 0x19], bl
jne 0x449e14
mov ecx, dword [esi + 0x30]
push 2
pop eax
cmp ecx, eax
je 0x449dfd
cmp ecx, 1
jne 0x449e14
push dword [edi]
mov dword [esi + 0x3bc], eax
push 0x482274
push 0x10
call fcn.00441d30
add esp, 0xc
push dword [edi]
push 0x482294
push 0x14
jmp 0x449e8b
cmp ecx, 2
jne 0x449e2e
push dword [esi + 0x24]
push 0x4822ac
jmp 0x449e8a
cmp ecx, 3
jne 0x449e93
push dword [eax + 4]
push dword [esi + 0x24]
push 0x4822c8
push edi
call fcn.00441d30
mov eax, dword [esi + 0x88c]
mov eax, dword [eax + 4]
add esp, 0x10
cmp eax, 0xffffff9b
jne 0x449e72
push dword [esi + 0x24]
push 0x4822e8
push edi
call fcn.00441d30
add esp, 0xc
or dword [esi + 0x3c0], 0x180
jmp 0x449e93
cmp eax, ebx
jne 0x449e82
or dword [esi + 0x3c0], 0x100
jmp 0x449e93
push dword [esi + 0x24]
push 0x4822fc
push edi
call fcn.00441d30
add esp, 0xc
push dword [esi + 0x884]
call dword [0x478288]
lea edi, [esi + 0x880]
push dword [edi]
mov dword [esi + 0x884], ebx
call dword [0x478288]
mov ecx, dword [esi + 0x88c]
cmp ecx, ebx
mov dword [edi], ebx
je 0x449ec5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x88c], ebx
mov dword [esi + 0x894], ebx
call fcn.0045a9fa
ret 4