Function at 0x1000174e
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x1002648d
call fcn.1001cf7f
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ebx, [ebp + 0xc]
call fcn.10001e63
mov esi, eax
mov eax, dword [esi]
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
mov dword [ebp - 0x34], esi
cmp ecx, ebx
jne 0x10001787
push 0x80004005
call fcn.1000869d
cmp byte [eax], bl
jne 0x10001b3b
cmp dword [eax + 8], ebx
je 0x100017a7
mov eax, dword [eax + 8]
push ebx
push eax
call dword [0x10028208]
test eax, eax
jne 0x10001b3b
mov esi, dword [esi]
mov byte [esi], 1
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x1002ab20
push 1
push ebx
push 0x1002ab10
mov byte [ebp - 4], 2
call dword [0x100284c8]
xor ecx, ecx
cmp eax, ebx
setge cl
cmp ecx, ebx
jne 0x100017d8
push eax
jmp 0x10001782
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0x14]
xor ecx, ecx
cmp eax, ebx
setge cl
cmp ecx, ebx
je 0x100017d5
mov dword [ebp - 0x14], ebx
push 3
pop eax
mov word [ebp - 0x68], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x7544
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x5c]
xor ecx, ecx
cmp eax, ebx
setge cl
cmp ecx, ebx
je 0x100017d5
mov dword [ebp - 0x24], ebx
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x14]
xor ecx, ecx
cmp eax, ebx
setge cl
cmp ecx, ebx
je 0x100017d5
xor eax, eax
cmp dword [ebp - 0x24], ebx
setne al
cmp eax, ebx
je 0x1000177d
xor eax, eax
push 0x1002aa8c
lea esi, [ebp - 0x58]
mov word [ebp - 0x58], ax
call fcn.10008616
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10001893
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x753b
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x5c]
xor ecx, ecx
cmp eax, ebx
setge cl
cmp ecx, ebx
je 0x100017d5
mov dword [ebp - 0x20], ebx
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x14]
xor ecx, ecx
cmp eax, ebx
setge cl
cmp ecx, ebx
je 0x100017d5
xor eax, eax
cmp dword [ebp - 0x20], ebx
setne al
cmp eax, ebx
je 0x1000177d
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
cmp ebx, dword [eax + 0x3c]
je 0x100019a1
lea eax, [ebx + 0xc]
cmp dword [eax + 0x14], 8
jb 0x1000191f
mov eax, dword [eax]
xor ecx, ecx
push eax
lea esi, [ebp - 0x48]
mov word [ebp - 0x48], cx
call fcn.10008616
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001943
and dword [ebp - 0x14], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x7535
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x5c]
test eax, eax
js 0x10001b43
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x14]
push 4
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x10001b43
cmp dword [ebp - 0x1c], 0
je 0x10001b43
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 9
call dword [0x100282bc]
mov ecx, dword [ebp - 0x1c]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x1000177d
and dword [ebp - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
push 0x100285ac
push 0x2712
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
xor ecx, ecx
test eax, eax
setns cl
test ecx, ecx
je 0x100017d5
and dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x10]
xor ecx, ecx
test eax, eax
setns cl
test ecx, ecx
je 0x100017d5
xor ebx, ebx
lea edi, [ebp + 8]
mov esi, 0x10037bf8
mov dword [ebp + 8], ebx
call fcn.10001e3d
push dword [eax]
push dword [ebp - 0x28]
call fcn.10013e66
pop ecx
pop ecx
test eax, eax
je 0x10001aa1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
lea esi, [ebp + 8]
call fcn.10002c21
pop ecx
pop ecx
mov esi, dword [ebp - 0x34]
mov eax, dword [esi]
add eax, 0xc
push eax
push ebx
push dword [ebp + 8]
push 0x10001b64
push ebx
push ebx
call fcn.100160e2
mov edi, eax
add esp, 0x18
mov dword [ebp + 0xc], edi
xor eax, eax
cmp edi, ebx
setne al
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x1000177d
mov esi, dword [esi]
add esi, 8
lea eax, [ebp + 0xc]
cmp esi, eax
je 0x10001a8b
mov eax, dword [esi]
cmp eax, ebx
je 0x10001a85
push eax
call dword [0x10028258]
mov dword [esi], ebx
mov eax, edi
xor edi, edi
mov dword [esi], eax
mov dword [ebp + 8], ebx
cmp edi, ebx
je 0x10001a99
push edi
call dword [0x10028258]
lea eax, [ebp + 8]
call fcn.1000235b
push dword [ebp - 0x28]
call dword [0x100282c4]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10001abb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10001acc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10001add
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [0x100282bc]
lea eax, [ebp - 0x58]
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10001afa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x68]
push eax
call esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10001b11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10001b22
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10001b33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov byte [eax], 0
call fcn.1001d024
ret 8
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 9
call dword [0x100282bc]
mov ebx, dword [ebx]
jmp 0x10001908