Function at 0x1003e665
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083886
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x100ad540]
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.0x1003e3be.33
mov edx, dword [edx + 8]
test edx, edx
je case.0x1003e3be.33
movzx eax, byte [ecx]
add eax, 0xffffffe0
cmp eax, 0xda
ja case.0x1003e3be.33
movzx eax, byte [eax + 0x1003e9d4]
jmp dword [eax*4 + 0x1003e9c0]
mov edi, dword [0x10182240]
mov esi, dword [0x1018223c]
cmp esi, edi
je case.0x1003e3be.33
nop dword [eax]
push 0
push dword [esi]
call fcn.1004beb0
add esi, 4
add esp, 8
cmp esi, edi
jne 0x1003e3e0
jmp case.0x1003e3be.33
movss xmm0, dword [0x100acec4]
ucomiss xmm0, dword [0x1008bc08]
lahf
test ah, 0x44
jnp case.0x1003e3be.33
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.1004bfd0
add esp, 4
mov eax, 0x1017e8f8
xor esi, esi
nop dword [eax + eax]
cmp byte [eax], 0
je 0x1003e545
add eax, 0x125
inc esi
cmp eax, 0x10182232
jl 0x1003e530
or esi, 0xffffffff
imul edi, esi, 0x125
lea ecx, [ebp - 0x234]
mov eax, ecx
mov edx, edi
sub edx, eax
mov byte [edi + 0x1017e8f8], 1
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x1017e901], al
test al, al
jne 0x1003e560
movzx eax, word [ebp - 0x360]
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
mov dword [edi + 0x1017ea13], eax
movzx eax, word [ebp - 0x364]
mov word [edi + 0x1017ea1b], ax
movzx eax, word [ebp - 0x368]
mov word [edi + 0x1017ea17], ax
movzx eax, word [ebp - 0x36c]
mov word [edi + 0x1017ea19], ax
movss dword [edi + 0x1017ea02], xmm0
movss dword [edi + 0x1017ea06], xmm1
movss dword [edi + 0x1017ea0a], xmm2
mov al, byte [ebp - 0x35a]
push 4
mov byte [edi + 0x1017ea0e], al
call fcn.10058fb2
add esp, 4
test eax, eax
je 0x1003e5ec
mov dword [eax], esi
jmp 0x1003e5ee
xor eax, eax
push 0
push 0
push eax
push 0x1004c0e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1017ea0f], eax
lea ecx, [ebp - 0x130]
jmp 0x1003e99b
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.1004bfd0
add esp, 4
lea ecx, [ebp - 0x244]
jmp 0x1003e99b
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 0x1003e7bd
sub eax, 1
je 0x1003e774
sub eax, 1
jne 0x1003e995
push 1
push 0x20
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
mov eax, dword [ebp - 0x374]
sub eax, 0
je 0x1003e72b
sub eax, 1
jne 0x1003e995
mov eax, dword [0x100b12d0]
push 0
push 0x1008b0d4
mov dword [eax + 8], 0
call fcn.100343e0
push 0
push 0x1008b0c0
call fcn.100343e0
add esp, 0x10
push 0
push 0
push 0
push 0x1003f920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003e995
push 1
push 0x20
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 4
call fcn.10058fb2
add esp, 4
test eax, eax
je 0x1003e759
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
jmp 0x1003e75b
xor eax, eax
push 0
push 0
push eax
push 0x1003fa50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003e995
push 1
push 0x20
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x358]
call fcn.100041e0
push 4
call fcn.10058fb2
add esp, 4
test eax, eax
je 0x1003e7a2
mov ecx, dword [ebp - 0x370]
mov dword [eax], ecx
jmp 0x1003e7a4
xor eax, eax
push 0
push 0
push eax
push 0x1003ee00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003e995
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 [0x100b12cc]
movzx ecx, word [ebp - 0x360]
mov eax, dword [edx + 0x3de]
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx*4 + 0x3074], 1
jne 0x1003e995
mov eax, dword [eax + ecx*4 + 0x1134]
test eax, eax
je 0x1003e995
cmp dword [eax + 0x4c], 0
je 0x1003e995
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.10025450
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10025430
movzx eax, byte [ebp - 0x359]
add esp, 0xc
mov ecx, eax
sub ecx, 1
je 0x1003e8f1
sub ecx, 1
je 0x1003e8d0
sub ecx, 1
je 0x1003e8af
xorps xmm1, xmm1
xorps xmm2, xmm2
mulss xmm1, dword [ebp - 0x7c]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
sub eax, 1
je 0x1003e908
sub eax, 1
je 0x1003e8e7
sub eax, 1
je 0x1003e8c6
jmp 0x1003e910
movss xmm1, dword [ebp - 0x7c]
mulss xmm1, dword [0x1008bc1c]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x1008bc24]
jmp 0x1003e910
movss xmm1, dword [ebp - 0x7c]
mulss xmm1, dword [0x1008bc18]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x1008bc20]
jmp 0x1003e910
movss xmm1, dword [ebp - 0x7c]
mulss xmm1, dword [str._n_r]
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm1
movss xmm2, dword [0x1008bc14]
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 [0x1017e8c0], eax
mov eax, dword [0x100b12cc]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 + 0x1134]
push dword [eax + 0x44]
call fcn.10034330
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.10058f9b
mov esp, ebp
pop ebp
ret