Function at 0x44674d
Capabilities:
Create thread

Disassembly:
push 0x6d8
mov eax, 0x4d58bc
call fcn.004a9c62
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
cmp dword [edi + 0x110], esi
je 0x446b4a
mov dword [ebp - 0x6b8], esi
lea ecx, [ebp - 0x6b4]
mov dword [ebp - 4], esi
call fcn.00402b1a
mov dword [ebp - 0x6a8], esi
mov dword [ebp - 0x6a4], esi
mov dword [ebp - 0x6a0], esi
mov dword [ebp - 0x69c], esi
mov dword [ebp - 0x698], esi
mov dword [ebp - 0x694], esi
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 3
call fcn.00458a82
mov dword [ebp - 0x20], esi
push 4
pop eax
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push 0x68
mov byte [ebp - 0x14], al
call fcn.004a8eb3
pop ecx
mov dword [ebp - 0x6cc], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00446c03
mov esi, eax
push 4
pop eax
mov byte [ebp - 4], al
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4467fc
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x446809
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
lea ecx, [ecx + 0x20]
call fcn.00429b81
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x690]
mov edx, 0x1774
mov dword [eax + 0x5c], ecx
lea ecx, [ebp - 0x6d8]
call fcn.0043e2df
push 0x4f2840
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 6
call fcn.00402b9e
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0044429f
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x484]
lea eax, [ebp - 0x6c8]
push eax
call fcn.00402ccc
push 0x20
lea edx, [ebp - 0x6d8]
lea ecx, [ebp - 0x6e4]
call fcn.004083ab
pop ecx
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 8
call fcn.00402ccc
mov byte [ebp - 4], 7
push dword [ebp - 0x6e4]
call fcn.004a8d17
cmp dword [edi + 0xf0], 0
pop ecx
je 0x4468d2
mov ecx, dword [edi + 0xf0]
mov eax, dword [edi + 0xec]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x7c]
mov byte [eax + 0x44], cl
lea eax, [edx + 0x80]
mov ecx, dword [ebp - 0x1c]
push eax
lea ecx, [ecx + 0x38]
call fcn.00402ccc
lea eax, [edi + 0x110]
push eax
lea ecx, [ebp - 0x6b8]
call fcn.00412333
push dword [ebp - 0x6bc]
lea ecx, [ebp - 0x6b4]
call fcn.00402ccc
mov esi, dword [ebx + 4]
lea ecx, [ebp - 0x6a8]
call fcn.00401b91
push esi
lea ecx, [ebp - 0x6a8]
call fcn.004096f9
xor esi, esi
cmp dword [ebx + 4], esi
jbe 0x44692c
mov eax, dword [ebx]
lea ecx, [ebp - 0x6a8]
push dword [eax + esi*4]
call fcn.004096bf
inc esi
cmp esi, dword [ebx + 4]
jb 0x446916
mov esi, dword [ebp - 0x6a4]
xor edx, edx
mov dword [ebp - 0x698], edx
cmp esi, dword [ebp - 0x694]
jbe 0x44698b
push dword [ebp - 0x69c]
call fcn.004a8d17
and dword [ebp - 0x69c], 0
mov eax, esi
and dword [ebp - 0x694], 0
pop ecx
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a8e36
mov edx, dword [ebp - 0x698]
mov dword [ebp - 0x694], esi
mov esi, dword [ebp - 0x6a4]
pop ecx
mov dword [ebp - 0x69c], eax
xor ebx, ebx
test esi, esi
je 0x4469bb
mov eax, dword [ebp - 0x6a8]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x69c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x698]
inc edx
inc ebx
mov dword [ebp - 0x698], edx
cmp ebx, dword [ebp - 0x6a4]
jb 0x446991
and dword [ebp - 0x6bc], 0
lea eax, [ebp - 0x6cc]
mov byte [ebp - 4], 9
push eax
push 0
lea eax, [ebp - 0x6b8]
push eax
push 0x44673c
push 0
push 0
call fcn.004af3aa
add esp, 0x18
mov dword [ebp - 0x6bc], eax
test eax, eax
jne 0x446a8b
call fcn.00401a66
mov esi, eax
test esi, esi
je 0x446a8b
lea ecx, [ebp - 0x6bc]
mov byte [ebp - 4], 0xa
call fcn.00401a77
push dword [ebp - 0x6c8]
call fcn.004a8d17
pop ecx
push dword [ebp - 0x6d8]
call fcn.004a8d17
pop ecx
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x446a3f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x690]
call fcn.00458cdd
push dword [ebp - 0x69c]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x6a8]
call fcn.00401bb4
push dword [ebp - 0x6b4]
call fcn.004a8d17
pop ecx
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x6b8]
test ecx, ecx
je 0x446a84
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
jmp 0x446b7f
mov ecx, edi
call fcn.0044429f
push eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x6d8]
push eax
lea ecx, [ebp - 0x690]
call fcn.0045a304
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x6bc]
mov byte [ebp - 4], 0xd
call fcn.00401a77
push dword [ebp - 0x6c8]
call fcn.004a8d17
pop ecx
push dword [ebp - 0x6d8]
call fcn.004a8d17
pop ecx
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x446aea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x690]
call fcn.00458cdd
push dword [ebp - 0x69c]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x6a8]
call fcn.00401bb4
push dword [ebp - 0x6b4]
call fcn.004a8d17
pop ecx
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x6b8]
test ecx, ecx
je 0x446b2f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
cmp esi, 0x80004002
je 0x446b4a
mov ecx, dword [edi + 0x40]
push 1
mov edx, dword [ecx]
call dword [edx + 0x20]
jmp 0x446a84
mov edx, 0x1778
lea ecx, [ebp - 0x6c8]
call fcn.0043e2df
mov dword [ebp - 4], 0x10
mov ecx, edi
push dword [ebp - 0x6c8]
call fcn.00444f16
push dword [ebp - 0x6c8]
call fcn.004a8d17
pop ecx
mov eax, 0x80004004
call fcn.004a9c0c
ret 0x14