Function at 0x10147be0
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 0x101e1cb8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x1021b380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp byte [0x1029c108], 0
je 0x1014835a
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x150]
mov eax, dword [0x102bb45c]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10147da5
or eax, 1
mov dword [0x102bb45c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x102b3e8c]
je 0x10147cbc
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10147cae
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10147c85
xor edx, edx
test ecx, ecx
je 0x10147cae
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10147c92
cmp edi, 0xf2f193b3
je 0x10147cd2
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x102b3e8c]
jne 0x10147c72
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x102bb46c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147daa
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x10147d78
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10147d24
cmp dword [ecx + 4], 0
jle 0x10147d24
push 0
mov edx, 0x8aaa98fc
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10147d21
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10147d30
xor edx, edx
test ecx, ecx
je 0x10147d5c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10147d40
cmp edi, 0x8aaa98fc
je 0x10147d8b
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x1c]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10147cf0
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x102bb46c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147daa
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x102bb46c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147daa
mov eax, dword [0x102bb46c]
movss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x1014835a
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x150]
mov eax, dword [0x102bb484]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10147f35
or eax, 1
mov dword [0x102bb484], eax
mov dword [ebp - 4], 1
mov eax, dword [0x102b3e88]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x102b3e8c]
je 0x10147e4d
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10147e3f
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10147e16
xor edx, edx
test ecx, ecx
je 0x10147e3f
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10147e23
cmp edi, 0xf2f193b3
je 0x10147e63
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x102b3e8c]
jne 0x10147e03
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x102bb460], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147f3a
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10147f08
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10147eb4
cmp dword [ecx + 4], 0
jle 0x10147eb4
push 0
mov edx, 0xb643ff6c
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10147eb1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10147ec0
xor edx, edx
test ecx, ecx
je 0x10147eec
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10147ed0
cmp edi, 0xb643ff6c
je 0x10147f1b
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10147e80
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x102bb460], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147f3a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x102bb460], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147f3a
mov eax, dword [0x102bb460]
movss xmm0, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x1014835a
mov eax, dword [0x10700218]
add eax, 0x70a6e448
mov byte [ebp - 0x11], 1
xor eax, 0x49da5afa
cmp byte [eax + 0x1c], 0
jne 0x10147f7f
cmp byte [eax + 0x1d], 0
je 0x10147f7f
cmp dword [eax + 0x20], 0
jg 0x10147f7f
cmp dword [eax + 4], 0
jne 0x10147f7f
cmp dword [eax + 0x44], 2
setg byte [ebp - 0x11]
mov ecx, dword [ebp - 0x34]
lea esi, [ebp - 0x88]
mov eax, dword [0x102cbe7c]
mov dword [ebp - 0x48], ecx
add eax, 0x575f0e57
lea ecx, [ebp - 0x12]
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x44], ecx
xor eax, 0x5b465993
movq xmm0, qword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x88], 0x10207634
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 4], 2
mov edx, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], edi
cmp edi, edx
jne 0x1014800c
push 0
mov ecx, esi
call fcn.10156af0
jmp 0x101481ec
mov edx, dword [0x102b7004]
mov eax, dword [ebp - 0x20]
mov edi, dword [edi + 8]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x101481c1
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x101481be
test eax, eax
je 0x1014819f
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1014819f
mov ecx, dword [0x102b704c]
test cl, 1
jne 0x101480f9
or ecx, 1
mov dword [0x102b704c], ecx
mov byte [ebp - 4], 3
mov edi, dword [0x102b3e88]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x102b3e8c]
je 0x101480e4
nop dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x101480d6
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
inc ecx
cmp byte [esi + ecx], 0
jne 0x101480a3
xor edx, edx
test ecx, ecx
je 0x101480d6
mov edi, eax
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101480b2
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x1014836e
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x102b3e8c]
jne 0x10148090
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov ecx, dword [0x102b704c]
mov dword [0x102b7004], edx
mov eax, dword [edi + edx]
mov dword [ebp - 0x38], eax
test cl, 1
jne 0x10148194
or ecx, 1
mov dword [0x102b704c], ecx
mov byte [ebp - 4], 4
mov edi, dword [0x102b3e88]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x102b3e8c]
je 0x10148182
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10148174
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10148140
xor edx, edx
test ecx, ecx
je 0x10148174
mov edi, eax
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10148150
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x1014842d
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x102b3e8c]
jne 0x10148126
xor edx, edx
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov dword [0x102b7004], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x64]
cmp eax, dword [ecx + edx]
je 0x101481be
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x101484db
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [0x102b7004]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x30]
add edi, 0xc
mov dword [ebp - 0x30], edi
cmp edi, eax
jne 0x10148015
test esi, esi
je 0x101481ec
mov edx, dword [esi]
lea eax, [ebp - 0x88]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [ebp - 0x11], 0
je 0x1014835a
cmp dword [ebp - 0x4c], 0
je 0x1014835a
fld dword [ebp - 0x58]
fld dword [0x10207afc]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x10207afc]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x10207ab0]
jbe 0x1014822b
subss xmm0, xmm1
movss xmm2, dword [0x10207c1c]
comiss xmm2, xmm0
jbe 0x1014823c
addss xmm0, xmm1
fld dword [ebp - 0x54]
fld dword [0x10207afc]
movss dword [ebp - 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x10207afc]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x10207ab0]
jbe 0x1014826c
subss xmm0, xmm1
movss xmm2, dword [0x10207c1c]
comiss xmm2, xmm0
jbe 0x1014827d
addss xmm0, xmm1
fld dword [ebp - 0x50]
fld dword [0x10207afc]
movss dword [ebp - 0x44], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x10207afc]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x10207ab0]
jbe 0x101482ad
subss xmm0, xmm1
movss xmm2, dword [0x10207c1c]
comiss xmm2, xmm0
jbe 0x101482be
addss xmm0, xmm1
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
movss dword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
xor eax, 0xde9a561b
mov ecx, dword [eax + 0x158]
mov eax, dword [ebp - 0x40]
movq qword [ecx + 0xc], xmm0
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x10148331
mov edx, dword [0x107001f0]
add edx, 0xd5bd03c9
xor edx, 0xde9a561b
cmp byte [edx + 5], 0
jne 0x10148331
movss xmm0, dword [edx + 0x38]
addss xmm0, dword [ecx + 0x28]
mov eax, dword [edx + 0x108]
divss xmm0, dword [eax + 0x20]
mov eax, dword [edx + 0x158]
addss xmm0, dword [0x102077ec]
cvttss2si ecx, xmm0
mov dword [eax + 8], ecx
mov eax, dword [0x107001f0]
mov edx, 0x800
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
cmp byte [ebp - 0x12], 0
mov ecx, dword [eax + 0x158]
mov eax, 1
cmovne eax, edx
or dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, dword [ebp - 0x28]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp dword [edx + 4], eax
jle 0x10148418
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax]
mov esi, dword [edx]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101483c4
cmp dword [ecx + 4], 0
jle 0x101483c4
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x101483c1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x101483d0
xor edx, edx
test ecx, ecx
je 0x101483fc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101483e0
cmp edi, 0xa5bfefb3
je 0x1014841f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
inc eax
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
cmp eax, dword [edx + 4]
jl 0x10148390
mov edx, edi
jmp 0x101480e6
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x101480e6
mov edx, dword [ebp - 0x24]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp dword [edx + 4], eax
jle 0x101484c6
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov esi, dword [edx]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1014847c
cmp dword [ecx + 4], 0
jle 0x1014847c
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x10148479
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10148485
xor edx, edx
test ecx, ecx
je 0x101484ae
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10148492
cmp edi, 0xa5bfefb3
je 0x101484cd
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
cmp eax, dword [edx + 4]
jl 0x10148448
mov edx, edi
jmp 0x10148184
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10148184
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3