Function at 0x10042675
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089f56
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x100b5540]
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.0x100423ce.35
mov edx, dword [edx + 8]
test edx, edx
je case.0x100423ce.35
movzx eax, byte [ecx]
add eax, 0xffffffe0
cmp eax, 0xda
ja case.0x100423ce.35
movzx eax, byte [eax + 0x10042988]
jmp dword [eax*4 + 0x10042974]
mov edi, dword [0x1018b254]
mov esi, dword [0x1018b250]
mov dword [0x10187610], 0
cmp esi, edi
je case.0x100423ce.35
push 0
push dword [esi]
call fcn.10051ad0
add esi, 4
add esp, 8
cmp esi, edi
jne 0x100423f3
jmp case.0x100423ce.35
movss xmm0, dword [0x100b4e38]
ucomiss xmm0, dword [0x10091ce0]
lahf
test ah, 0x44
jnp case.0x100423ce.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.10051bc0
add esp, 4
mov eax, 0x10187908
xor esi, esi
nop
cmp byte [eax], 0
je 0x10042555
add eax, 0x125
inc esi
cmp eax, 0x1018b242
jl 0x10042540
or esi, 0xffffffff
imul edi, esi, 0x125
lea ecx, [ebp - 0x234]
mov eax, ecx
mov edx, edi
sub edx, eax
mov byte [edi + 0x10187908], 1
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x10187911], al
test al, al
jne 0x10042570
movzx eax, word [ebp - 0x360]
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
mov dword [edi + 0x10187a23], eax
movzx eax, word [ebp - 0x364]
mov word [edi + 0x10187a2b], ax
movzx eax, word [ebp - 0x368]
mov word [edi + 0x10187a27], ax
movzx eax, word [ebp - 0x36c]
mov word [edi + 0x10187a29], ax
movss dword [edi + 0x10187a12], xmm0
movss dword [edi + 0x10187a16], xmm1
movss dword [edi + 0x10187a1a], xmm2
mov al, byte [ebp - 0x35a]
push 4
mov byte [edi + 0x10187a1e], al
call fcn.1005f6a2
add esp, 4
test eax, eax
je 0x100425fc
mov dword [eax], esi
jmp 0x100425fe
xor eax, eax
push 0
push 0
push eax
push 0x10051cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10187a1f], eax
lea ecx, [ebp - 0x130]
jmp 0x10042951
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.10051bc0
add esp, 4
lea ecx, [ebp - 0x244]
jmp 0x10042951
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 0x10042781
sub eax, 1
je 0x10042738
sub eax, 1
jne 0x1004294b
push 1
push 0x20
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
cmp dword [ebp - 0x374], 0
jne 0x1004294b
push 1
push 0x20
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 4
call fcn.1005f6a2
add esp, 4
test eax, eax
je 0x1004271d
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
jmp 0x1004271f
xor eax, eax
push 0
push 0
push eax
push 0x10043970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1004294b
push 1
push 0x20
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 4
call fcn.1005f6a2
add esp, 4
test eax, eax
je 0x10042766
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
jmp 0x10042768
xor eax, eax
push 0
push 0
push eax
push 0x10042dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1004294b
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 [0x100b92cc]
movzx ecx, word [ebp - 0x360]
mov eax, dword [edx + 0x3de]
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx*4 + 0x3074], 1
jne 0x1004294b
mov eax, dword [eax + ecx*4 + 0x1134]
test eax, eax
je 0x1004294b
cmp dword [eax + 0x4c], 0
je 0x1004294b
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.1002a520
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.1002a500
movzx eax, byte [ebp - 0x359]
add esp, 0xc
movss xmm1, dword [ebp - 0x7c]
mov ecx, eax
sub ecx, 1
je 0x100428ac
sub ecx, 1
je 0x10042890
sub ecx, 1
je 0x10042874
xorps xmm2, xmm2
mulss xmm1, xmm2
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
sub eax, 1
je 0x100428be
sub eax, 1
je 0x100428a2
sub eax, 1
je 0x10042886
jmp 0x100428c6
mulss xmm1, dword [0x10091cf4]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x10091cfc]
jmp 0x100428c6
mulss xmm1, dword [0x10091cf0]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x10091cf8]
jmp 0x100428c6
mulss xmm1, dword [str._n_r]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x10091cec]
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 [0x101878dc], eax
mov eax, dword [0x100b92cc]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 + 0x1134]
push dword [eax + 0x44]
call fcn.10039500
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.1005f68b
mov esp, ebp
pop ebp
ret