Function at 0x44666d
Capabilities:
Create thread

Disassembly:
push 0x6d8
mov eax, 0x496f62
call fcn.0046af26
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 0x446a6a
mov dword [ebp - 0x6b8], esi
lea ecx, [ebp - 0x6b4]
mov dword [ebp - 4], esi
call fcn.00402a89
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.0045887a
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.0046a4f4
pop ecx
mov dword [ebp - 0x6cc], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00446b23
mov esi, eax
push 4
pop eax
mov byte [ebp - 4], al
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x44671c
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x446729
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.0042b03f
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x690]
mov edx, 0x1774
mov dword [eax + 0x5c], ecx
lea ecx, [ebp - 0x6d8]
call fcn.0043e1cc
push 0x4a6e20
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 6
call fcn.00402b0d
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004441ba
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x484]
lea eax, [ebp - 0x6c8]
push eax
call fcn.00402c3b
push 0x20
lea edx, [ebp - 0x6d8]
lea ecx, [ebp - 0x6e4]
call fcn.00408230
pop ecx
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 8
call fcn.00402c3b
mov byte [ebp - 4], 7
push dword [ebp - 0x6e4]
call fcn.0046a358
cmp dword [edi + 0xf0], 0
pop ecx
je 0x4467f2
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.00402c3b
lea eax, [edi + 0x110]
push eax
lea ecx, [ebp - 0x6b8]
call fcn.004121b8
push dword [ebp - 0x6bc]
lea ecx, [ebp - 0x6b4]
call fcn.00402c3b
mov esi, dword [ebx + 4]
lea ecx, [ebp - 0x6a8]
call fcn.00401b00
push esi
lea ecx, [ebp - 0x6a8]
call fcn.0040957e
xor esi, esi
cmp dword [ebx + 4], esi
jbe 0x44684c
mov eax, dword [ebx]
lea ecx, [ebp - 0x6a8]
push dword [eax + esi*4]
call fcn.00409544
inc esi
cmp esi, dword [ebx + 4]
jb 0x446836
mov esi, dword [ebp - 0x6a4]
xor edx, edx
mov dword [ebp - 0x698], edx
cmp esi, dword [ebp - 0x694]
jbe 0x4468ab
push dword [ebp - 0x69c]
call fcn.0046a358
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.0046a477
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 0x4468db
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 0x4468b1
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 0x44665c
push 0
push 0
call fcn.0046f03a
add esp, 0x18
mov dword [ebp - 0x6bc], eax
test eax, eax
jne 0x4469ab
call fcn.004019d6
mov esi, eax
test esi, esi
je 0x4469ab
lea ecx, [ebp - 0x6bc]
mov byte [ebp - 4], 0xa
call fcn.004019e7
push dword [ebp - 0x6c8]
call fcn.0046a358
pop ecx
push dword [ebp - 0x6d8]
call fcn.0046a358
pop ecx
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44695f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x690]
call fcn.00458ad5
push dword [ebp - 0x69c]
call fcn.0046a358
pop ecx
lea ecx, [ebp - 0x6a8]
call fcn.00401b23
push dword [ebp - 0x6b4]
call fcn.0046a358
pop ecx
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x6b8]
test ecx, ecx
je 0x4469a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
jmp 0x446a9f
mov ecx, edi
call fcn.004441ba
push eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x6d8]
push eax
lea ecx, [ebp - 0x690]
call fcn.0045a0fc
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x6bc]
mov byte [ebp - 4], 0xd
call fcn.004019e7
push dword [ebp - 0x6c8]
call fcn.0046a358
pop ecx
push dword [ebp - 0x6d8]
call fcn.0046a358
pop ecx
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x446a0a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x690]
call fcn.00458ad5
push dword [ebp - 0x69c]
call fcn.0046a358
pop ecx
lea ecx, [ebp - 0x6a8]
call fcn.00401b23
push dword [ebp - 0x6b4]
call fcn.0046a358
pop ecx
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x6b8]
test ecx, ecx
je 0x446a4f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
cmp esi, 0x80004002
je 0x446a6a
mov ecx, dword [edi + 0x40]
push 1
mov edx, dword [ecx]
call dword [edx + 0x20]
jmp 0x4469a4
mov edx, 0x1778
lea ecx, [ebp - 0x6c8]
call fcn.0043e1cc
mov dword [ebp - 4], 0x10
mov ecx, edi
push dword [ebp - 0x6c8]
call fcn.00444e31
push dword [ebp - 0x6c8]
call fcn.0046a358
pop ecx
mov eax, 0x80004004
call fcn.0046aed0
ret 0x14