Function at 0x10018750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10051014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [0x100536fc]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x10018795
xor ecx, ecx
jmp 0x1001879c
mov eax, dword [edi + 0x10]
movzx ecx, word [edx + eax]
lea eax, [edx + 2]
mov dword [edi + 8], eax
lea eax, [esi + 4]
mov word [esi], cx
mov ecx, edi
push eax
call fcn.1000b8d0
lea eax, [esi + 0x1c]
mov byte [edi + 4], 0
push eax
mov ecx, edi
call fcn.1000b8d0
mov edx, eax
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100187d5
xor cl, cl
jmp 0x100187db
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x34], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100187f8
xor cl, cl
jmp 0x100187fe
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x35], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x1001881b
xor ecx, ecx
jmp 0x10018822
mov eax, dword [edx + 0x10]
movzx ecx, word [edi + eax]
lea eax, [edi + 2]
mov dword [edx + 8], eax
mov word [esi + 0x3c], cx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10018840
xor cl, cl
jmp 0x10018846
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x36], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10018863
xor cl, cl
jmp 0x10018869
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x37], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10018886
xor cl, cl
jmp 0x1001888c
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x38], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100188a9
xor cl, cl
jmp 0x100188af
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x74], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100188cc
xor cl, cl
jmp 0x100188d2
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x75], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x100188ef
xor cl, cl
jmp 0x100188f5
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x76], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10018912
xor cl, cl
jmp 0x10018918
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x77], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10018935
xor cl, cl
jmp 0x1001893b
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x78], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 4]
cmp eax, ecx
jbe 0x10018958
xor ecx, ecx
jmp 0x1001895e
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + eax]
lea eax, [edi + 4]
mov dword [edx + 8], eax
mov dword [esi + 0x44], ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 4]
cmp eax, ecx
jbe 0x1001897b
xor ecx, ecx
jmp 0x10018981
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + eax]
lea eax, [edi + 4]
mov dword [edx + 8], eax
mov dword [esi + 0x48], ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 8]
cmp eax, ecx
jbe 0x100189aa
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
jmp 0x100189b4
mov eax, dword [edx + 0x10]
mov ebx, dword [edi + eax]
mov ecx, dword [edi + eax + 4]
lea eax, [edi + 8]
mov dword [edx + 8], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 8]
cmp eax, ecx
jbe 0x100189e0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
jmp 0x100189ea
mov eax, dword [edx + 0x10]
mov ebx, dword [edi + eax]
mov ecx, dword [edi + eax + 4]
lea eax, [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [0x100536f4]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ecx
test eax, eax
je 0x10018ad1
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10018a67
cmp dword [ecx], 0
je 0x10018a67
mov edx, dword [esi + 0x44]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10010ad0
add esp, 4
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [0x100536f4]
mov ecx, dword [ecx + 0x44]
mov ecx, dword [ecx]
call fcn.100123c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10018a50
inc eax
push eax
push dword [ebp - 0x34]
call fcn.100026c0
mov eax, dword [0x100536f4]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test eax, eax
je 0x10018ad1
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10018ad1
cmp dword [ecx + 4], 0
je 0x10018ad1
mov edx, dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10010ad0
add esp, 4
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [0x100536f4]
mov ecx, dword [ecx + 0x44]
mov ecx, dword [ecx + 4]
call fcn.100123c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10018aba
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.100026c0
mov eax, dword [0x100536f4]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov byte [0x10053783], 1
test eax, eax
je 0x10018b6c
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10018af1
call fcn.10022190
mov eax, dword [0x100536f4]
mov edi, dword [eax + 0x4c]
test edi, edi
je 0x10018b6c
cmp dword [esi + 0x5c], 0
mov ebx, dword [esi + 0x58]
jl 0x10018b6c
jg 0x10018b07
test ebx, ebx
je 0x10018b6c
mov edi, dword [edi + 0x40]
test edi, edi
je 0x10018b6c
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
call fcn.1003b9a0
mov edx, dword [esi + 0x5c]
mov ecx, ebx
movsd qword [ebp - 0x1c], xmm0
call fcn.1003b9a0
movsd xmm1, qword [ebp - 0x1c]
divsd xmm1, xmm0
push 4
push edi
mulsd xmm1, qword [0x10048b88]
cvtpd2ps xmm0, xmm1
movss dword [ebp + 8], xmm0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018b6c
movss xmm0, dword [ebp + 8]
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10047558]
mov eax, dword [0x100536f0]
test eax, eax
je 0x10018b9c
cmp byte [eax], 0
jne 0x10018b9c
push 0
push 0
push eax
push 0x10021670
push 0
push 0
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10018b9c
mov ecx, eax
call fcn.100210c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4