Function at 0x100418e5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088b26
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x100b4540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
test ecx, ecx
je case.0x1004163e.35
mov edx, dword [edx + 8]
test edx, edx
je case.0x1004163e.35
movzx eax, byte [ecx]
add eax, 0xffffffe0
cmp eax, 0xda
ja case.0x1004163e.35
movzx eax, byte [eax + 0x10041bf8]
jmp dword [eax*4 + 0x10041be4]
mov edi, dword [0x1018924c]
mov esi, dword [0x10189248]
mov dword [0x1018561c], 0
cmp esi, edi
je case.0x1004163e.35
push 0
push dword [esi]
call fcn.10050ac0
add esi, 4
add esp, 8
cmp esi, edi
jne 0x10041663
jmp case.0x1004163e.35
movss xmm0, dword [0x100b3ec4]
ucomiss xmm0, dword [0x10090dd0]
lahf
test ah, 0x44
jnp case.0x1004163e.35
push 0
push edx
push ecx
lea ecx, [ebp - 0x130]
call fcn.10004020
push 8
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0
call fcn.10004170
push 1
push 8
lea eax, [ebp - 0x359]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
movzx eax, byte [ebp - 0x359]
lea ecx, [ebp - 0x130]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10004180
movzx eax, byte [ebp - 0x359]
lea ecx, [ebp - 0x130]
push 1
push 0x10
mov byte [ebp + eax - 0x234], 0
lea eax, [ebp - 0x364]
push eax
call fcn.100041e0
push 1
push 0x10
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
lea eax, [ebp - 0x35a]
push eax
lea ecx, [ebp - 0x130]
call fcn.10003fd0
push 1
push 0x10
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
push 1
push 0x10
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
push 1
push 0x20
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
push 1
push 0x20
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
push 1
push 0x20
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x130]
call fcn.100041e0
push dword [ebp - 0x364]
call fcn.10050bb0
add esp, 4
mov eax, 0x10185900
xor esi, esi
nop
cmp byte [eax], 0
je 0x100417c5
add eax, 0x125
inc esi
cmp eax, 0x1018923a
jl 0x100417b0
or esi, 0xffffffff
imul edi, esi, 0x125
lea ecx, [ebp - 0x234]
mov eax, ecx
mov edx, edi
sub edx, eax
mov byte [edi + 0x10185900], 1
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x10185909], al
test al, al
jne 0x100417e0
movzx eax, word [ebp - 0x360]
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
mov dword [edi + 0x10185a1b], eax
movzx eax, word [ebp - 0x364]
mov word [edi + 0x10185a23], ax
movzx eax, word [ebp - 0x368]
mov word [edi + 0x10185a1f], ax
movzx eax, word [ebp - 0x36c]
mov word [edi + 0x10185a21], ax
movss dword [edi + 0x10185a0a], xmm0
movss dword [edi + 0x10185a0e], xmm1
movss dword [edi + 0x10185a12], xmm2
mov al, byte [ebp - 0x35a]
push 4
mov byte [edi + 0x10185a16], al
call fcn.1005e172
add esp, 4
test eax, eax
je 0x1004186c
mov dword [eax], esi
jmp 0x1004186e
xor eax, eax
push 0
push 0
push eax
push 0x10050cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10185a17], eax
lea ecx, [ebp - 0x130]
jmp 0x10041bc1
push 0
push edx
push ecx
lea ecx, [ebp - 0x244]
call fcn.10004020
push 8
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 1
call fcn.10004170
push 1
push 0x10
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x244]
call fcn.100041e0
push dword [ebp - 0x364]
call fcn.10050bb0
add esp, 4
lea ecx, [ebp - 0x244]
jmp 0x10041bc1
push 0
push edx
push ecx
lea ecx, [ebp - 0x358]
call fcn.10004020
push 8
lea ecx, [ebp - 0x358]
mov dword [ebp - 4], 2
call fcn.10004170
push 1
push 8
lea eax, [ebp - 0x35a]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
movzx eax, byte [ebp - 0x35a]
sub eax, 0
je 0x100419f1
sub eax, 1
je 0x100419a8
sub eax, 1
jne 0x10041bbb
push 1
push 0x20
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
cmp dword [ebp - 0x374], 0
jne 0x10041bbb
push 1
push 0x20
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 4
call fcn.1005e172
add esp, 4
test eax, eax
je 0x1004198d
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
jmp 0x1004198f
xor eax, eax
push 0
push 0
push eax
push 0x10042940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10041bbb
push 1
push 0x20
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 4
call fcn.1005e172
add esp, 4
test eax, eax
je 0x100419d6
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
jmp 0x100419d8
xor eax, eax
push 0
push 0
push eax
push 0x10042030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10041bbb
push 1
push 0x10
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 1
push 8
lea eax, [ebp - 0x359]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
mov edx, dword [0x100b82cc]
movzx ecx, word [ebp - 0x360]
mov eax, dword [edx + 0x3de]
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx*4 + 0x3074], 1
jne 0x10041bbb
mov eax, dword [eax + ecx*4 + 0x1134]
test eax, eax
je 0x10041bbb
cmp dword [eax + 0x4c], 0
je 0x10041bbb
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov eax, dword [edx + 0x3de]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 + 0x1134]
mov eax, dword [eax + 0x4c]
movzx eax, word [eax + 0x22]
push eax
call fcn.100285b0
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10028590
movzx eax, byte [ebp - 0x359]
add esp, 0xc
movss xmm1, dword [ebp - 0x7c]
mov ecx, eax
sub ecx, 1
je 0x10041b1c
sub ecx, 1
je 0x10041b00
sub ecx, 1
je 0x10041ae4
xorps xmm2, xmm2
mulss xmm1, xmm2
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
sub eax, 1
je 0x10041b2e
sub eax, 1
je 0x10041b12
sub eax, 1
je 0x10041af6
jmp 0x10041b36
mulss xmm1, dword [0x10090de4]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x10090dec]
jmp 0x10041b36
mulss xmm1, dword [0x10090de0]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x10090de8]
jmp 0x10041b36
mulss xmm1, dword [str._n_r]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x10090ddc]
movss xmm1, dword [ebp - 0x84]
lea esi, [ebp - 0x100]
mulss xmm1, xmm2
lea edi, [ebp - 0x214]
mov ecx, 0x37
lea eax, [ebp - 0x214]
push eax
mov eax, 0x6f5080
addss xmm1, dword [ebp - 0x84]
movss dword [ebp - 0x84], xmm1
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call eax
movzx ecx, word [ebp - 0x360]
lea eax, [ebp - 0x214]
mov dword [0x101858c8], eax
mov eax, dword [0x100b82cc]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 + 0x1134]
push dword [eax + 0x44]
call fcn.10037520
mov ecx, 0x1a
lea esi, [ebp - 0x1e8]
mov edi, dword [eax + 0x384]
add edi, 0x2c
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x358]
call fcn.100040d0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e15b
mov esp, ebp
pop ebp
ret