Function at 0x1008d799
Capabilities:
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 0x100c60bd
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1850
call fcn.100bd5a0
mov eax, dword [0x100dd360]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1834], eax
test eax, eax
je 0x1008dcf0
cmp dword [0x100ef724], 0
je 0x1008dcf0
mov edi, dword [eax + 8]
mov eax, dword [0x10242d20]
test al, 1
jne 0x1008d3b6
or eax, 1
mov dword [0x10242d20], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1824]
call fcn.10044a80
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10242d24
call fcn.10044ed0
add esp, 4
push 0x100c7ba0
call fcn.100bbcaa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10242d24]
call eax
mov esi, eax
mov dword [ebp - 0x1838], esi
test edi, edi
je 0x1008d44c
test esi, esi
je 0x1008d44c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1830], ecx
test ecx, ecx
je 0x1008d44c
nop
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008d429
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d400
xor edx, edx
test ecx, ecx
je 0x1008d429
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d410
cmp edi, 0x11ab48ff
je 0x1008d444
mov ecx, dword [ebp - 0x1830]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1830], ecx
test ecx, ecx
je 0x1008d44c
mov esi, dword [ebp - 0x1838]
jmp 0x1008d3e0
mov ecx, dword [ebp - 0x1830]
jmp 0x1008d44e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm5, dword [0x100d1fec]
dec eax
cmp eax, 6
ja case.0x1008d460.2
jmp dword [eax*4 + 0x1008dd10]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x1008d4db
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x1008d4db
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100d224c]
movaps xmm0, xmm4
movss xmm2, dword [0x100d2240]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm1, xmm4
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm5
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x1008d4db
xor edx, edx
jmp 0x1008d4db
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1023b3b0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1023b3b0]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x1008dcf0
mov edi, dword [ebp - 0x1834]
mov eax, dword [0x10242d20]
mov edi, dword [edi + 8]
test al, 1
jne 0x1008d55b
or eax, 1
mov dword [0x10242d20], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1824]
call fcn.10044a80
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10242d24
call fcn.10044ed0
add esp, 4
push 0x100c7ba0
call fcn.100bbcaa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10242d24]
call eax
mov esi, eax
mov dword [ebp - 0x1838], esi
test edi, edi
je 0x1008d5ec
test esi, esi
je 0x1008d5ec
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1830], ecx
test ecx, ecx
je 0x1008d5ec
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008d5c9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d5a1
xor edx, edx
test ecx, ecx
je 0x1008d5c9
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d5b0
cmp edi, 0xfd0c5087
je 0x1008d5e4
mov ecx, dword [ebp - 0x1830]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1830], ecx
test ecx, ecx
je 0x1008d5ec
mov esi, dword [ebp - 0x1838]
jmp 0x1008d583
mov ecx, dword [ebp - 0x1830]
jmp 0x1008d5ee
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d5f8.4
jmp dword [eax*4 + 0x1008dd2c]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x1830]
movss xmm0, dword [ebp - 0x1830]
add esp, 4
jmp 0x1008d65e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x1830]
movss xmm0, dword [ebp - 0x1830]
add esp, 4
jmp 0x1008d65e
movss xmm0, dword [ecx + 0xc]
jmp 0x1008d65e
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008d65e
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100bd6f0
cvtsd2ss xmm0, xmm0
jmp 0x1008d65e
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1834]
movss dword [ebp - 0x1830], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10242d20]
test al, 1
jne 0x1008d6bf
or eax, 1
mov dword [0x10242d20], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1824]
call fcn.10044a80
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10242d24
call fcn.10044ed0
add esp, 4
push 0x100c7ba0
call fcn.100bbcaa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10242d24]
call eax
mov esi, eax
mov dword [ebp - 0x183c], esi
test edi, edi
je 0x1008d74e
test esi, esi
je 0x1008d74e
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1838], ecx
test ecx, ecx
je 0x1008d74e
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008d72b
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d705
xor edx, edx
test ecx, ecx
je 0x1008d72b
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d712
cmp edi, 0xfc0c4ef4
je 0x1008d746
mov ecx, dword [ebp - 0x1838]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1838], ecx
test ecx, ecx
je 0x1008d74e
mov esi, dword [ebp - 0x183c]
jmp 0x1008d6e7
mov ecx, dword [ebp - 0x1838]
jmp 0x1008d750
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d75a.4
jmp dword [eax*4 + 0x1008dd48]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x1838]
movss xmm0, dword [ebp - 0x1838]
add esp, 4
jmp 0x1008d7c0
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x1838]
movss xmm0, dword [ebp - 0x1838]
add esp, 4
jmp 0x1008d7c0
movss xmm0, dword [ecx + 0xc]
jmp 0x1008d7c0
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008d7c0
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100bd6f0
cvtsd2ss xmm0, xmm0
jmp 0x1008d7c0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1834]
movss dword [ebp - 0x1838], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10242d20]
test al, 1
jne 0x1008d821
or eax, 1
mov dword [0x10242d20], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1824]
call fcn.10044a80
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10242d24
call fcn.10044ed0
add esp, 4
push 0x100c7ba0
call fcn.100bbcaa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10242d24]
call eax
mov esi, eax
mov dword [ebp - 0x183c], esi
test edi, edi
je 0x1008d8bc
test esi, esi
je 0x1008d8bc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1834], ecx
test ecx, ecx
je 0x1008d8bc
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x1008d899
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1008d870
xor edx, edx
test ecx, ecx
je 0x1008d899
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008d880
cmp edi, 0xff0c53ad
je 0x1008d8b4
mov ecx, dword [ebp - 0x1834]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1834], ecx
test ecx, ecx
je 0x1008d8bc
mov esi, dword [ebp - 0x183c]
jmp 0x1008d850
mov ecx, dword [ebp - 0x1834]
jmp 0x1008d8be
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1008d8c8.4
jmp dword [eax*4 + 0x1008dd64]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x1834]
movss xmm0, dword [ebp - 0x1834]
add esp, 4
jmp 0x1008d92e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x1834]
movss xmm0, dword [ebp - 0x1834]
add esp, 4
jmp 0x1008d92e
movss xmm0, dword [ecx + 0xc]
jmp 0x1008d92e
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1008d92e
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100bd6f0
cvtsd2ss xmm0, xmm0
jmp 0x1008d92e
xorps xmm0, xmm0
cmp byte [0x100e5c88], 0
movss dword [ebp - 0x1834], xmm0
je 0x1008db5b
mov esi, dword [0x100ef724]
lea ecx, [ebp - 0x1824]
mov dword [ebp - 0x1824], 0
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x181c], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x1008daac
mov eax, dword [0x1023b548]
mov eax, dword [esi + eax]
test eax, eax
je 0x1008daac
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x1008daac
cmp byte [eax + 0x109], 0
jne 0x1008d9ce
mov eax, dword [0x1023b61c]
add eax, 0xffffffb9
xor eax, 0xbc88475e
movss xmm0, dword [eax + ecx]
ucomiss xmm0, dword [0x100d1ed4]
lahf
test ah, 0x44
jnp 0x1008daac
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x1818]
add ecx, 4
push ecx
mov dword [esp], 0
mov eax, dword [eax + 0x34]
push pe_nt_image_headers32
push 0x80
push edx
call eax
xorps xmm4, xmm4
test al, al
je 0x1008da03
movss xmm2, dword [ebp - 0x166c]
jmp 0x1008da06
xorps xmm2, xmm2
addss xmm2, dword [0x100d2028]
movss xmm3, dword [ebp - 0x181c]
comiss xmm3, xmm2
movss dword [ebp - 0x1840], xmm2
jbe 0x1008daac
movaps xmm0, xmm3
subss xmm0, xmm2
subss xmm0, dword [0x100d20fc]
mulss xmm0, dword [0x100d1f50]
comiss xmm0, xmm4
jb 0x1008da7a
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm3, dword [ebp - 0x181c]
add esp, 8
movss xmm2, dword [ebp - 0x1840]
fstp dword [ebp - 0x183c]
movss xmm4, dword [ebp - 0x183c]
movaps xmm0, xmm4
subss xmm2, xmm3
mulss xmm0, xmm4
movaps xmm1, xmm0
addss xmm0, xmm0
mulss xmm1, dword [0x100d20d8]
mulss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x181c], xmm1
mov ecx, dword [0x1023b614]
mov eax, dword [ebp - 0x181c]
add ecx, 0xffffffbb
movss xmm4, dword [ebp - 0x1830]
xor ecx, 0xbc88475c
movss xmm3, dword [ebp - 0x1838]
movss xmm2, dword [ebp - 0x1834]
movq xmm0, qword [ebp - 0x1824]
mov dword [ebp - 0x184c], eax
mov eax, dword [0x100ef724]
movss dword [ebp - 0x1860], xmm4
movss dword [ebp - 0x185c], xmm3
movss dword [ebp - 0x1858], xmm2
mov eax, dword [ecx + eax]
mov dword [ebp - 0x1848], eax
mov eax, dword [0x1023d4e0]
movq qword [ebp - 0x1854], xmm0
mov word [ebp - 0x1844], 0
cmp eax, dword [0x1023d4e4]
je 0x1008db49
movups xmm0, xmmword [ebp - 0x1860]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1850]
movups xmmword [eax + 0x10], xmm0
add dword [0x1023d4e0], 0x20
jmp 0x1008db73
lea ecx, [ebp - 0x1860]
push ecx
push eax
mov ecx, 0x1023d4dc
call fcn.100904d0
movss xmm4, dword [ebp - 0x1830]
movss xmm3, dword [ebp - 0x1838]
movss xmm2, dword [ebp - 0x1834]
mov eax, dword [0x1023d4d8]
test eax, eax
je 0x1008dcf0
mov ecx, dword [0x1023d4d4]
xor edx, edx
movss xmm1, dword [0x100d2248]
lea esi, [eax + ecx]
mov dword [ebp - 0x1830], esi
cmp ecx, esi
je 0x1008dcf0
mov edi, dword [0x1023d4d0]
nop word [eax + eax]
mov esi, dword [0x1023d4cc]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x1830]
cmp byte [eax + 0x44], 0
jne 0x1008dbe9
mov esi, dword [0x1023b410]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
mov esi, dword [ebp - 0x1830]
comiss xmm1, xmm0
jb 0x1008dbe9
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x1008dbb0
test edx, edx
je 0x1008dcf0
mov byte [edx + 0x44], 1
movss dword [edx + 0x24], xmm4
movss dword [edx + 0x28], xmm3
movss dword [edx + 0x2c], xmm2
mov byte [edx + 0x3c], 1
mov ecx, dword [0x1023b614]
mov eax, dword [0x100ef724]
add ecx, 0xffffffbb
xor ecx, 0xbc88475c
mov dword [ebp - 0x182c], edx
movss dword [ebp - 0x1824], xmm4
movss dword [ebp - 0x1820], xmm3
movss dword [ebp - 0x181c], xmm2
mov eax, dword [ecx + eax]
mov ecx, dword [0x1023d4f0]
mov dword [ebp - 0x1828], eax
mov eax, dword [0x1023d4f8]
inc eax
cmp ecx, eax
ja 0x1008dc69
push ecx
mov ecx, 0x1023d4e8
call fcn.1008ff90
mov ecx, dword [0x1023d4f0]
lea edi, [ecx - 1]
mov esi, edi
and esi, dword [0x1023d4f4]
mov dword [0x1023d4f4], esi
cmove esi, ecx
mov ecx, dword [0x1023d4ec]
dec esi
and edi, esi
cmp dword [ecx + edi*4], 0
jne 0x1008dca5
push 0x14
call fcn.100bb7b2
mov ecx, dword [0x1023d4ec]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x1023d4ec]
mov ecx, dword [ecx + edi*4]
movups xmm0, xmmword [ebp - 0x182c]
mov eax, dword [ebp - 0x181c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov eax, dword [0x1023d4f8]
inc eax
mov dword [0x1023d4f4], esi
mov dword [0x1023d4f8], eax
cmp eax, 0x80
jbe 0x1008dcf0
add eax, 0xffffffff
mov dword [0x1023d4f8], eax
je 0x1008dce6
cmp eax, 0x80
ja 0x1008dcd3
jmp 0x1008dcf0
mov dword [0x1023d4f4], 0
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.100bb796
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4