Function at 0x10137e90
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b73a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x104cdec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x9c], ecx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ecx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x1a0], eax
mov eax, dword [ecx]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x84], edi
mov eax, dword [eax]
mov edi, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], esi
xor esi, esi
movss xmm0, dword [eax]
mov eax, dword [ecx + 0x10]
movss dword [ebp - 0x9c], xmm0
mov edx, dword [eax]
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov word [edi + 5], si
mov byte [edi + 7], 0
mov byte [edi + 4], 0
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 8], eax
mov dword [edi + 0x34], edx
movss xmm0, dword [0x101bde88]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x94]
movss xmm3, dword [0x101bc1c4]
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 8]
mov esi, edi
mov edi, dword [ebp - 0x84]
add esi, 4
mov dword [esi + 0x10], eax
mov eax, dword [edi]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0xd
mov eax, dword [0x105d9d44]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x101bc1e4]
mov dword [ebp - 0x94], eax
neg eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x30]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x10138001
jmp dword [eax*4 + 0x101393b4]
movss xmm0, dword [0x101bd410]
jmp case.0x10138001.47
mov dword [esi + 0x28], 0x3fc00000
jmp 0x101380d3
mov eax, dword [0x105d7518]
test al, 1
jne 0x101380b1
or eax, 1
mov dword [0x105d7518], eax
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x1013809c
nop word [eax + eax]
mov eax, dword [eax + 0xc]
mov edi, 0x811c9dc5
mov dword [ebp - 0x84], eax
xor ecx, ecx
inc ecx
cmp byte [ecx + eax], 0
jne 0x10138060
xor edx, edx
test ecx, ecx
je 0x1013808f
nop dword [eax]
movsx eax, byte [edx + eax]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [ebp - 0x84]
cmp edx, ecx
jb 0x10138070
cmp edi, 0xc12e8fe5
je 0x101380a6
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x10138050
xor ecx, ecx
mov dword [0x105d7514], ecx
jmp 0x101380b7
mov ecx, dword [ebp - 0x78]
mov dword [0x105d7514], ecx
jmp 0x101380b7
mov ecx, dword [0x105d7514]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84], eax
call dword [ebp - 0x84]
movss xmm3, dword [0x101bc1c4]
fstp dword [esi + 0x28]
movss xmm0, dword [0x101bde84]
mov eax, dword [0x105d9d44]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esi + 0x38], eax
mov eax, dword [0x105d9d44]
movss xmm0, dword [0x101bc200]
mov ecx, dword [esi + 0x34]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x10139325
lea edx, [esi + 0x44]
lea edi, [esi + 8]
nop dword [eax + eax]
cmp dword [esi + 0x38], ecx
jg 0x10138222
mov eax, dword [esi + 0x30]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x10138138
jmp dword [eax*4 + 0x101393cc]
movss xmm1, dword [esi + 0x18]
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x101bcc74]
comiss xmm0, xmm2
jb case.default.0x10138138
jmp 0x101381be
movss xmm1, dword [esi + 0x18]
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x101bde8c]
comiss xmm0, xmm2
jb case.default.0x10138138
jmp 0x101381be
mov eax, dword [0x105d9d44]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esi + 0x28]
jbe case.default.0x10138138
mov byte [esi], 1
mov dword [esi + 0x3c], ecx
mov ecx, dword [edx + 4]
mov byte [ebp - 0x71], 0
cmp ecx, dword [edx + 8]
je 0x101381e8
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
add dword [edx + 4], 0x10
jmp case.default.0x10138138
lea eax, [ebp - 0x71]
push eax
push edi
push ecx
mov ecx, edx
call fcn.1004a900
movss xmm3, dword [0x101bc1c4]
lea edx, [esi + 0x44]
mov eax, dword [0x105d9d44]
movss xmm0, dword [0x101bcc78]
mov ecx, dword [esi + 0x34]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
add eax, ecx
mov dword [esi + 0x38], eax
cmp ecx, dword [ebp - 0xa0]
jl 0x101392fc
cmp byte [esi], 0
jne 0x10139325
mov eax, dword [0x105d7508]
test al, 1
jne 0x101382c5
or eax, 1
mov dword [0x105d7508], eax
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x101382b0
nop dword [eax + eax]
mov edi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10138270
xor edx, edx
test ecx, ecx
je 0x101382a3
mov esi, eax
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10138280
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x78], 0x58e37709
mov esi, dword [ebp - 0x90]
je 0x101382ba
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x10138260
xor ecx, ecx
mov dword [0x105d7504], ecx
jmp 0x101382cb
mov ecx, dword [ebp - 0x7c]
mov dword [0x105d7504], ecx
jmp 0x101382cb
mov ecx, dword [0x105d7504]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84], eax
call dword [ebp - 0x84]
mov eax, dword [0x105d9d44]
movss xmm3, dword [esi + 0x1c]
fstp dword [ebp - 0x84]
movss xmm0, dword [ebp - 0x84]
movaps xmm2, xmm3
mulss xmm0, dword [0x101bde90]
push 0x30
movss xmm1, dword [eax + 0x20]
lea eax, [ebp - 0x4c]
push 0
mulss xmm0, xmm1
push eax
subss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esi + 0x14]
addss xmm3, xmm2
movss dword [ebp - 0x78], xmm0
movaps xmm0, xmm1
movss dword [esi + 0x1c], xmm2
mulss xmm0, dword [esi + 0x18]
mulss xmm3, dword [0x101bc1c4]
movss dword [ebp - 0x7c], xmm0
mulss xmm3, xmm1
movss dword [ebp - 0x8c], xmm3
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x24]
lea edx, [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0x40000000
cmp eax, 1
mov dword [ebp - 0xcc], 0x40000000
movups xmmword [ebp - 0x70], xmm0
mov ecx, 0x8400b
mov edi, 0x4208608b
movups xmmword [ebp - 0x60], xmm0
cmove edi, ecx
lea ecx, [esi + 8]
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [ecx]
push edx
push eax
push dword [esi + 4]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc8], 0x40000000
movss dword [ebp - 0xac], xmm0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, dword [ecx + 4]
push edi
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0xc0000000
push eax
movss dword [ebp - 0xa8], xmm0
lea eax, [ebp - 0xac]
movss xmm0, dword [ebp - 0x8c]
addss xmm0, dword [ecx + 8]
push eax
push ecx
mov ecx, dword [0x105d9d04]
mov dword [ebp - 0xd8], 0xc0000000
movss dword [ebp - 0xa4], xmm0
mov dword [ebp - 0xd4], 0xc0000000
call fcn.1004aad0
cmp byte [ebp - 0x39], 0
je 0x101384c0
test dword [ebp - 0x40], 0x80000
je 0x101384c0
push 0x54
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [0x105d9d04]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x34], 0x101bdda0
mov dword [ebp - 0x19c], 0x40000000
push eax
push dword [esi + 0x24]
mov eax, edi
mov dword [ebp - 0x198], 0x40000000
push dword [esi + 4]
and eax, 0xfff7ffff
mov dword [ebp - 0x194], 0x40000000
push eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0xe8], 0xc0000000
push eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe4], 0xc0000000
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xe0], 0xc0000000
push eax
lea eax, [esi + 8]
push eax
call fcn.1004aad0
movss xmm0, dword [0x101bc1dc]
comiss xmm0, dword [ebp - 0x44]
ja 0x101384de
cmp byte [ebp - 0x3a], 0
jne 0x101384de
cmp byte [ebp - 0x39], 0
je 0x101385e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1013853a
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10138537
push 0x54
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x105d9d04]
lea eax, [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x34], 0x101bdda0
push eax
push dword [esi + 0x24]
lea eax, [ebp - 0xac]
push dword [esi + 4]
push edi
push eax
lea edi, [esi + 8]
push edi
call fcn.1004adb0
mov ecx, dword [ebp - 0x24]
jmp 0x1013853d
mov ecx, dword [ebp - 0x24]
lea edi, [esi + 8]
cmp byte [ebp - 0x39], 0
je 0x101385e3
mov dword [esi + 0x24], 3
lea eax, [ebp - 0x70]
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x78]
movss xmm1, dword [edi + 8]
subss xmm3, dword [ebp - 0x78]
mov ecx, dword [0x105d9d04]
push eax
movss dword [ebp - 0xf4], xmm0
lea eax, [ebp - 0xf4]
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x7c]
subss xmm2, dword [ebp - 0x7c]
push 3
push dword [esi + 4]
movss dword [ebp - 0x100], xmm3
movss dword [ebp - 0xf0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x8c]
subss xmm1, dword [ebp - 0x8c]
push 0x8400b
push eax
lea eax, [ebp - 0x100]
movss dword [ebp - 0xfc], xmm2
push eax
movss dword [ebp - 0xec], xmm0
movss dword [ebp - 0xf8], xmm1
call fcn.1004adb0
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x44]
ucomiss xmm0, dword [0x101bc190]
lahf
test ah, 0x44
jnp 0x10138613
movss xmm0, dword [ebp - 0x64]
movss dword [esi + 8], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [esi + 0x10], xmm0
test ecx, ecx
je 0x10138747
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x10138747
mov eax, dword [esi + 0x30]
cmp eax, 0x44
je 0x10138643
cmp eax, 0x2e
je 0x10138643
cmp eax, 0x30
jne 0x10138747
mov eax, dword [0x105d7510]
test al, 1
jne 0x101386c5
or eax, 1
mov dword [0x105d7510], eax
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x101386b0
mov edi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10138670
xor edx, edx
test ecx, ecx
je 0x101386a3
mov esi, eax
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10138680
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x78], 0x1aef2a38
mov esi, dword [ebp - 0x90]
je 0x101386ba
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x10138663
xor ecx, ecx
mov dword [0x105d750c], ecx
jmp 0x101386cb
mov ecx, dword [ebp - 0x7c]
mov dword [0x105d750c], ecx
jmp 0x101386cb
mov ecx, dword [0x105d750c]
cmp dword [esi + 0x30], 0x44
je 0x10138705
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84], eax
call dword [ebp - 0x84]
fmul dword [0x101bc19c]
fstp qword [ebp - 0x88]
movsd xmm0, qword [ebp - 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [ebp - 0x50]
ja 0x10138747
mov eax, dword [esi + 0x34]
lea edx, [esi + 0x44]
mov byte [esi], 1
lea edi, [esi + 8]
mov dword [esi + 0x3c], eax
mov ecx, dword [edx + 4]
mov byte [ebp - 0x71], 1
cmp ecx, dword [edx + 8]
je 0x10138738
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
add dword [edx + 4], 0x10
jmp 0x1013874d
lea eax, [ebp - 0x71]
push eax
push edi
push ecx
mov ecx, edx
call fcn.1004a900
jmp 0x1013874a
lea edi, [esi + 8]
lea edx, [esi + 0x44]
cmp byte [esi], 0
jne 0x10139325
movss xmm0, dword [ebp - 0x44]
ucomiss xmm0, dword [0x101bc1dc]
lahf
test ah, 0x44
jnp 0x101392aa
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov ecx, dword [edx + 4]
mov byte [ebp - 0x71], 1
cmp ecx, dword [edx + 8]
je 0x10138796
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
add dword [edx + 4], 0x10
jmp 0x101387a3
lea eax, [ebp - 0x71]
push eax
push edi
push ecx
mov ecx, edx
call fcn.1004a900
mov eax, dword [ebp - 0x24]
movss xmm6, dword [0x101bc1dc]
test eax, eax
je 0x10138840
push eax
call fcn.100dc0a0
add esp, 4
test al, al
je 0x101387fa
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [0x101bde90]
mulss xmm0, xmm1
movss dword [esi + 0x14], xmm0
movss xmm0, dword [esi + 0x18]
mulss xmm0, xmm1
movss dword [esi + 0x18], xmm0
movss xmm0, dword [esi + 0x1c]
mulss xmm0, xmm1
movss dword [esi + 0x1c], xmm0
jmp 0x101392aa
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
mov cl, al
test cl, cl
je 0x10138817
movss xmm6, dword [0x101bc1ac]
jmp 0x1013881f
movss xmm6, dword [0x101bc1dc]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x64], 0
je 0x10138840
test cl, cl
je 0x1013883d
cmp dword [esi + 0x20], eax
jne 0x1013883d
mov dword [esi + 0x24], 1
jmp 0x101392aa
mov dword [esi + 0x20], eax
movss xmm5, dword [esi + 0x14]
movss xmm2, dword [ebp - 0x54]
movaps xmm0, xmm5
mulss xmm0, dword [ebp - 0x58]
movaps xmm1, xmm2
mulss xmm1, dword [esi + 0x18]
movss xmm7, dword [ebp - 0x50]
movss xmm3, dword [0x101bc1dc]
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esi + 0x1c]
addss xmm1, xmm0
addss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x58]
subss xmm5, xmm0
movaps xmm0, xmm5
andps xmm0, xmmword [0x101bc270]
comiss xmm0, xmm3
jae 0x10138899
xorps xmm5, xmm5
movaps xmm0, xmm1
movaps xmm4, xmm5
mulss xmm0, xmm2
movss xmm2, dword [esi + 0x18]
subss xmm2, xmm0
movaps xmm0, xmm2
andps xmm0, xmmword [0x101bc270]
comiss xmm0, xmm3
jae 0x101388be
xorps xmm2, xmm2
movss xmm3, dword [esi + 0x1c]
mulss xmm1, xmm7
subss xmm3, xmm1
movss xmm1, dword [0x101bc1dc]
movaps xmm0, xmm3
andps xmm0, xmmword [0x101bc270]
comiss xmm0, xmm1
xorps xmm0, xmm0
jae 0x101388eb
movaps xmm4, xmm5
xorps xmm3, xmm3
mulss xmm6, dword [0x101bde94]
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x7c], 0x3f666666
mov dword [ebp - 0x84], 0
comiss xmm0, xmm6
movss dword [ebp - 0x78], xmm6
cmovbe ecx, eax
lea eax, [ebp - 0x7c]
comiss xmm6, dword [0x101bc1d8]
cmovbe eax, ecx
comiss xmm7, dword [0x101bdd98]
movss xmm0, dword [eax]
mulss xmm4, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [ebp - 0x8c], xmm4
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0x78], xmm3
jbe 0x10138e41
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x101bdecc]
movss dword [ebp - 0x84], xmm1
jbe 0x10138a23
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10138998
sqrtsd xmm0, xmm0
jmp 0x1013899d
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm2, dword [ebp - 0x7c]
xorps xmm1, xmm1
movss xmm4, dword [ebp - 0x8c]
movaps xmm5, xmm2
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm4
movss xmm3, dword [ebp - 0x78]
addss xmm1, dword [0x101bc194]
movss xmm6, dword [0x101bc1dc]
divss xmm0, xmm1
divss xmm5, xmm1
mulss xmm0, dword [ebp - 0x58]
mulss xmm5, dword [ebp - 0x54]
addss xmm5, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
mulss xmm0, dword [ebp - 0x50]
addss xmm5, xmm0
movss xmm0, dword [0x101bc1c4]
comiss xmm5, xmm0
jbe 0x10138a19
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm4, xmm0
mulss xmm2, xmm0
movss xmm1, dword [ebp - 0x84]
jmp 0x10138a2b
movss xmm6, dword [0x101bc1dc]
movss xmm0, dword [0x101bdec4]
comiss xmm0, xmm1
jbe 0x10138a52
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
jmp 0x1013925f
movss dword [esi + 0x14], xmm4
lea edx, [ebp - 0x70]
movss dword [esi + 0x18], xmm2
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0x44]
movss dword [esi + 0x1c], xmm3
mov ecx, 0x8400b
mov eax, dword [0x105d9d44]
mov edi, 0x4208608b
push edx
mov dword [ebp - 0x10c], 0x40000000
mov dword [ebp - 0x108], 0x40000000
mulss xmm0, dword [eax + 0x20]
mov eax, dword [esi + 0x24]
cmp eax, 1
push eax
push dword [esi + 4]
mulss xmm4, xmm0
lea eax, [ebp - 0x10c]
cmove edi, ecx
lea ecx, [esi + 8]
mulss xmm2, xmm0
push edi
mulss xmm3, xmm0
movaps xmm0, xmm4
push eax
addss xmm0, dword [ecx]
lea eax, [ebp - 0x118]
movss dword [ebp - 0x8c], xmm4
push eax
lea eax, [ebp - 0xb8]
movss dword [ebp - 0x7c], xmm2
push eax
movss dword [ebp - 0xb8], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 4]
push ecx
movss dword [ebp - 0x78], xmm3
mov dword [ebp - 0x104], 0x40000000
mov dword [ebp - 0x118], 0xc0000000
movss dword [ebp - 0xb4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ecx + 8]
mov ecx, dword [0x105d9d04]
mov dword [ebp - 0x114], 0xc0000000
mov dword [ebp - 0x110], 0xc0000000
movss dword [ebp - 0xb0], xmm0
call fcn.1004aad0
cmp byte [ebp - 0x39], 0
je 0x10138be3
test dword [ebp - 0x40], 0x80000
je 0x10138be3
push 0x54
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [0x105d9d04]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x34], 0x101bdda0
mov dword [ebp - 0x124], 0x40000000
push eax
push dword [esi + 0x24]
mov eax, edi
mov dword [ebp - 0x120], 0x40000000
push dword [esi + 4]
and eax, 0xfff7ffff
mov dword [ebp - 0x11c], 0x40000000
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x130], 0xc0000000
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x12c], 0xc0000000
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x128], 0xc0000000
push eax
lea eax, [esi + 8]
push eax
call fcn.1004aad0
movss xmm0, dword [0x101bc1dc]
comiss xmm0, dword [ebp - 0x44]
ja 0x10138c01
cmp byte [ebp - 0x3a], 0
jne 0x10138c01
cmp byte [ebp - 0x39], 0
je 0x10138d06
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10138c5d
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10138c5a
push 0x54
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x105d9d04]
lea eax, [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x34], 0x101bdda0
push eax
push dword [esi + 0x24]
lea eax, [ebp - 0xb8]
push dword [esi + 4]
push edi
push eax
lea edi, [esi + 8]
push edi
call fcn.1004adb0
mov ecx, dword [ebp - 0x24]
jmp 0x10138c60
mov ecx, dword [ebp - 0x24]
lea edi, [esi + 8]
cmp byte [ebp - 0x39], 0
je 0x10138d09
movss xmm0, dword [ebp - 0x8c]
lea eax, [ebp - 0x70]
mov dword [esi + 0x24], 3
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
addss xmm0, xmm3
movss xmm1, dword [edi + 8]
subss xmm3, dword [ebp - 0x8c]
mov ecx, dword [0x105d9d04]
push eax
movss dword [ebp - 0x13c], xmm0
lea eax, [ebp - 0x13c]
movss xmm0, dword [ebp - 0x7c]
addss xmm0, xmm2
movss dword [ebp - 0x148], xmm3
subss xmm2, dword [ebp - 0x7c]
push 3
push dword [esi + 4]
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, xmm1
movss dword [ebp - 0x144], xmm2
subss xmm1, dword [ebp - 0x78]
push 0x8400b
push eax
lea eax, [ebp - 0x148]
push eax
movss dword [ebp - 0x134], xmm0
movss dword [ebp - 0x140], xmm1
call fcn.1004adb0
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x44]
lea edi, [esi + 8]
ucomiss xmm0, dword [0x101bc190]
lahf
test ah, 0x44
jnp 0x10138d3b
movss xmm0, dword [ebp - 0x64]
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [edi + 4], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [edi + 8], xmm0
test ecx, ecx
je 0x1013925f
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x1013925f
mov eax, dword [esi + 0x30]
cmp eax, 0x44
je 0x10138d6b
cmp eax, 0x2e
je 0x10138d6b
cmp eax, 0x30
jne 0x1013925f
mov eax, dword [0x105d7510]
test al, 1
jne 0x10138df5
or eax, 1
mov dword [0x105d7510], eax
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10138de0
nop
mov edi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10138da0
xor edx, edx
test ecx, ecx
je 0x10138dd3
mov esi, eax
nop
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10138db0
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x78], 0x1aef2a38
mov esi, dword [ebp - 0x90]
je 0x10138dea
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x10138d90
xor ecx, ecx
mov dword [0x105d750c], ecx
jmp 0x10138dfb
mov ecx, dword [ebp - 0x7c]
mov dword [0x105d750c], ecx
jmp 0x10138dfb
mov ecx, dword [0x105d750c]
cmp dword [esi + 0x30], 0x44
je 0x10139225
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84], eax
call dword [ebp - 0x84]
fmul dword [0x101bc19c]
fstp qword [ebp - 0x88]
movsd xmm0, qword [ebp - 0x88]
jmp 0x10139216
lea eax, [ebp - 0x71]
push eax
push edi
push ecx
mov ecx, edx
call fcn.1004a900
jmp 0x1013925f
movss dword [esi + 0x14], xmm4
lea edx, [ebp - 0x70]
movss dword [esi + 0x18], xmm2
movaps xmm0, xmm1
subss xmm0, dword [ebp - 0x44]
movss dword [esi + 0x1c], xmm3
mov ecx, 0x8400b
mov eax, dword [0x105d9d44]
mov edi, 0x4208608b
push edx
mov dword [ebp - 0x154], 0x40000000
mov dword [ebp - 0x150], 0x40000000
mulss xmm0, dword [eax + 0x20]
mov eax, dword [esi + 0x24]
cmp eax, 1
push eax
push dword [esi + 4]
mulss xmm4, xmm0
lea eax, [ebp - 0x154]
cmove edi, ecx
lea ecx, [esi + 8]
mulss xmm2, xmm0
push edi
mulss xmm3, xmm0
movaps xmm0, xmm4
push eax
addss xmm0, dword [ecx]
lea eax, [ebp - 0x160]
movss dword [ebp - 0x8c], xmm4
push eax
lea eax, [ebp - 0xc4]
movss dword [ebp - 0x7c], xmm2
push eax
movss dword [ebp - 0xc4], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 4]
push ecx
movss dword [ebp - 0x78], xmm3
mov dword [ebp - 0x14c], 0x40000000
mov dword [ebp - 0x160], 0xc0000000
movss dword [ebp - 0xc0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ecx + 8]
mov ecx, dword [0x105d9d04]
mov dword [ebp - 0x15c], 0xc0000000
mov dword [ebp - 0x158], 0xc0000000
movss dword [ebp - 0xbc], xmm0
call fcn.1004aad0
cmp byte [ebp - 0x39], 0
je 0x10138fd2
test dword [ebp - 0x40], 0x80000
je 0x10138fd2
push 0x54
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [0x105d9d04]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x34], 0x101bdda0
mov dword [ebp - 0x16c], 0x40000000
push eax
push dword [esi + 0x24]
mov eax, edi
mov dword [ebp - 0x168], 0x40000000
push dword [esi + 4]
and eax, 0xfff7ffff
mov dword [ebp - 0x164], 0x40000000
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x178], 0xc0000000
push eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x174], 0xc0000000
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x170], 0xc0000000
push eax
lea eax, [esi + 8]
push eax
call fcn.1004aad0
movss xmm0, dword [0x101bc1dc]
comiss xmm0, dword [ebp - 0x44]
ja 0x10138ff0
cmp byte [ebp - 0x3a], 0
jne 0x10138ff0
cmp byte [ebp - 0x39], 0
je 0x101390f5
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1013904c
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10139049
push 0x54
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x105d9d04]
lea eax, [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x34], 0x101bdda0
push eax
push dword [esi + 0x24]
lea eax, [ebp - 0xc4]
push dword [esi + 4]
push edi
push eax
lea edi, [esi + 8]
push edi
call fcn.1004adb0
mov ecx, dword [ebp - 0x24]
jmp 0x1013904f
mov ecx, dword [ebp - 0x24]
lea edi, [esi + 8]
cmp byte [ebp - 0x39], 0
je 0x101390f8
movss xmm0, dword [ebp - 0x8c]
lea eax, [ebp - 0x70]
mov dword [esi + 0x24], 3
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
addss xmm0, xmm3
movss xmm1, dword [edi + 8]
subss xmm3, dword [ebp - 0x8c]
mov ecx, dword [0x105d9d04]
push eax
movss dword [ebp - 0x184], xmm0
lea eax, [ebp - 0x184]
movss xmm0, dword [ebp - 0x7c]
addss xmm0, xmm2
movss dword [ebp - 0x190], xmm3
subss xmm2, dword [ebp - 0x7c]
push 3
push dword [esi + 4]
movss dword [ebp - 0x180], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, xmm1
movss dword [ebp - 0x18c], xmm2
subss xmm1, dword [ebp - 0x78]
push 0x8400b
push eax
lea eax, [ebp - 0x190]
push eax
movss dword [ebp - 0x17c], xmm0
movss dword [ebp - 0x188], xmm1
call fcn.1004adb0
mov ecx, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x44]
lea edi, [esi + 8]
ucomiss xmm0, dword [0x101bc190]
lahf
test ah, 0x44
jnp 0x1013912a
movss xmm0, dword [ebp - 0x64]
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [edi + 4], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [edi + 8], xmm0
test ecx, ecx
je 0x1013925f
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x1013925f
mov eax, dword [esi + 0x30]
cmp eax, 0x44
je 0x1013915a
cmp eax, 0x2e
je 0x1013915a
cmp eax, 0x30
jne 0x1013925f
mov eax, dword [0x105d7510]
test al, 1
jne 0x101391e5
or eax, 1
mov dword [0x105d7510], eax
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x101391d0
nop
mov edi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10139190
xor edx, edx
test ecx, ecx
je 0x101391c3
mov esi, eax
nop
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x101391a0
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x78], 0x1aef2a38
mov esi, dword [ebp - 0x90]
je 0x101391da
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x10139180
xor ecx, ecx
mov dword [0x105d750c], ecx
jmp 0x101391eb
mov ecx, dword [ebp - 0x7c]
mov dword [0x105d750c], ecx
jmp 0x101391eb
mov ecx, dword [0x105d750c]
cmp dword [esi + 0x30], 0x44
je 0x10139225
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84], eax
call dword [ebp - 0x84]
fmul dword [0x101bc19c]
fstp qword [ebp - 0x88]
movsd xmm0, qword [ebp - 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [ebp - 0x50]
ja 0x1013925c
mov eax, dword [esi + 0x34]
lea edx, [esi + 0x44]
mov byte [esi], 1
lea edi, [esi + 8]
mov dword [esi + 0x3c], eax
mov ecx, dword [edx + 4]
mov byte [ebp - 0x71], 1
cmp ecx, dword [edx + 8]
je 0x10138e2f
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
add dword [edx + 4], 0x10
jmp 0x10139262
lea edi, [esi + 8]
lea edx, [esi + 0x44]
mov eax, dword [esi + 0x40]
cmp eax, 0x14
jle 0x101392a6
mov eax, dword [esi + 0x34]
mov byte [esi], 1
mov dword [esi + 0x3c], eax
mov ecx, dword [edx + 4]
mov byte [ebp - 0x71], 0
cmp ecx, dword [edx + 8]
je 0x10139297
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
add dword [edx + 4], 0x10
jmp 0x101392aa
lea eax, [ebp - 0x71]
push eax
push edi
push ecx
mov ecx, edx
call fcn.1004a900
jmp 0x101392aa
inc eax
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x3c]
lea edx, [esi + 0x44]
add eax, dword [ebp - 0x94]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x101392f4
mov dword [esi + 0x3c], ecx
mov ecx, dword [edx + 4]
mov byte [ebp - 0x71], 0
cmp ecx, dword [edx + 8]
je 0x101392e4
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
add dword [edx + 4], 0x10
jmp 0x101392f4
lea eax, [ebp - 0x71]
push eax
push edi
push ecx
mov ecx, edx
call fcn.1004a900
lea edx, [esi + 0x44]
movss xmm3, dword [0x101bc1c4]
mov ecx, dword [esi + 0x34]
movss xmm0, dword [0x101bc200]
inc ecx
mov dword [esi + 0x34], ecx
mov eax, dword [0x105d9d44]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jl 0x10138120
mov eax, dword [esi + 0x3c]
add eax, dword [ebp - 0x94]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x1013936d
mov dword [esi + 0x3c], ecx
lea eax, [esi + 8]
mov edx, dword [esi + 0x48]
lea ecx, [esi + 0x44]
mov byte [ebp - 0x71], 0
cmp edx, dword [ecx + 8]
je 0x10139362
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 0
add dword [ecx + 4], 0x10
jmp 0x1013936d
lea edi, [ebp - 0x71]
push edi
push eax
push edx
call fcn.1004a900
movd xmm0, dword [esi + 0x34]
mov ecx, dword [0x105d9d44]
mov eax, dword [ebp - 0x98]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x20]
addss xmm0, dword [ebp - 0x9c]
movss dword [esi + 0x2c], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101a3d69
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10