Function at 0x10038c70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd49e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x100f1040]
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 ecx, dword [ebx + 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [0x10452c98]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xb4], 0
test cl, 1
jne 0x10038d8d
or ecx, 1
mov dword [0x10452c98], ecx
mov eax, dword [0x1044ea10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10038d86
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10038d40
xor edx, edx
test ecx, ecx
je 0x10038d73
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10038d50
mov eax, dword [ebp - 0x9c]
cmp esi, 0x8208957b
je 0x10039091
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10038d30
mov ecx, dword [0x10452c98]
xor eax, eax
mov dword [0x10452c9c], eax
test cl, 2
jne 0x10038e03
or ecx, 2
mov dword [0x10452c98], ecx
mov eax, dword [0x1044ea10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10038dfc
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10038dc0
xor edx, edx
test ecx, ecx
je 0x10038def
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10038dd0
mov eax, dword [ebp - 0x9c]
cmp esi, 0xd0eb0af6
je 0x10038dfe
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10038db0
xor eax, eax
mov dword [0x10452ca0], eax
mov ecx, dword [ebp - 0xb0]
mov eax, dword [0x1044ec70]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x1003945a
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
je 0x1003945a
push 0x30
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0xa8]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [ebp - 0x98], ymm0
vxorps xmm3, xmm3, xmm3
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0x78], xmm3
vcvtsi2ss xmm0, xmm0, dword [esi + 0xec]
vmovss dword [edi], xmm0
vmovq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xac]
vmovq qword [ebp - 0xd0], xmm0
vmovss xmm4, dword [esi + 0x104]
vxorps xmm1, xmm1, xmm1
mov dword [eax], 4
vmovss xmm0, dword [edi]
vcomiss xmm0, xmm3
mov eax, dword [0x10334bb4]
vmovss dword [ebp - 0xc4], xmm3
vmovss dword [ebp - 0xa4], xmm1
mov dword [ebp - 0x9c], 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
jbe 0x1003945a
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0xc0]
vmovss xmm5, dword [ebp - 0xd0]
vmovss xmm6, dword [ebp - 0xcc]
vmovss xmm7, dword [ebp - 0xc8]
vsubss xmm4, xmm4, xmm1
vmulss xmm1, xmm4, dword [eax]
vmulss xmm2, xmm4, dword [eax + 4]
vmulss xmm0, xmm4, dword [eax + 8]
vaddss xmm1, xmm5, xmm1
vaddss xmm2, xmm6, xmm2
vmovss dword [ebp - 0x18], xmm1
vmovss dword [ebp - 0xb0], xmm4
vaddss xmm4, xmm7, xmm0
vsubss xmm0, xmm2, xmm6
vsubss xmm1, xmm1, xmm5
vmovss dword [ebp - 0x14c], xmm0
vmovss dword [ebp - 0x150], xmm1
vmulss xmm0, xmm0, xmm0
vmovss dword [ebp - 0x20], xmm2
vsubss xmm2, xmm4, xmm7
vmulss xmm1, xmm1, xmm1
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vucomiss xmm0, xmm3
vmovss dword [ebp - 0x1c], xmm4
lahf
mov byte [ebp - 0x11b], 1
vmovss dword [ebp - 0x148], xmm2
vmovss dword [ebp - 0x144], xmm3
test ah, 0x44
jp 0x10038f9b
mov byte [ebp - 0x11b], 0
mov ecx, dword [0x1044ea30]
lea edx, [ebp - 0x98]
push edx
vmovss dword [ebp - 0x160], xmm5
vmovss dword [ebp - 0x15c], xmm6
vmovss dword [ebp - 0x158], xmm7
vmovss dword [ebp - 0x154], xmm3
vmovss dword [ebp - 0x138], xmm3
vmovss dword [ebp - 0x13c], xmm3
vmovss dword [ebp - 0x140], xmm3
vmovss dword [ebp - 0x128], xmm3
vmovss dword [ebp - 0x12c], xmm3
vmovss dword [ebp - 0x130], xmm3
mov dword [ebp - 0x120], 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x11c], 1
mov eax, dword [ecx]
push edx
push 0x4600400b
lea edx, [ebp - 0x160]
mov eax, dword [eax + 0x14]
push edx
vzeroupper
call eax
mov eax, dword [ebp - 0xc0]
vmovss xmm2, dword [0x100e5344]
vmulss xmm1, xmm2, dword [eax]
vmulss xmm3, xmm2, dword [eax + 4]
vmulss xmm4, xmm2, dword [eax + 8]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1003909c
vaddss xmm0, xmm1, dword [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x98]
push eax
vmovss dword [ebp - 0xec], xmm0
vaddss xmm0, xmm3, dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push eax
vmovss dword [ebp - 0xe8], xmm0
vaddss xmm0, xmm4, dword [ebp - 0x1c]
lea eax, [ebp - 0xd0]
push eax
vmovss dword [ebp - 0xe4], xmm0
call fcn.100388e0
jmp 0x10039239
mov ecx, dword [0x10452c98]
jmp 0x10038d88
vaddss xmm2, xmm1, dword [ebp - 0x18]
vaddss xmm1, xmm3, dword [ebp - 0x20]
vaddss xmm0, xmm4, dword [ebp - 0x1c]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xd0]
vmovss dword [ebp - 0xf0], xmm0
vmovss xmm0, dword [0x100e5364]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x102d2e9c]
vmovss dword [ebp - 0xf8], xmm2
vmovss dword [ebp - 0xf4], xmm1
vmovss dword [ebp - 0x18], xmm0
test al, 1
jne 0x10039213
or eax, 1
mov dword [0x102d2e9c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
push 0x1c
vpxor xmm0, xmm0, xmm0
push str.E8_________83_C4_14_8A_56_37
vmovdqu xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
call fcn.10034420
mov byte [ebp - 4], 1
mov eax, dword [0x1044e9c4]
test eax, eax
je 0x10039151
mov edi, dword [eax + 0x50]
jmp 0x10039153
xor edi, edi
mov eax, dword [0x1044e9bc]
mov edx, dword [ebp - 0xb4]
test eax, eax
je 0x1003916a
mov esi, dword [eax + 0x18]
or edx, 1
jmp 0x1003916f
or edx, 2
xor esi, esi
mov ecx, edx
lea eax, [ebp - 0x110]
and ecx, 0xfffffffd
test dl, 2
push eax
cmove ecx, edx
mov edx, ecx
and edx, 0xfffffffe
test cl, 1
push esi
cmove edx, ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xb4], edx
mov edx, edi
call fcn.10035240
mov eax, dword [ebp - 0xd4]
add esp, 8
test eax, eax
je 0x100391bd
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100391b8
xor eax, eax
jmp 0x100391bd
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
mov dword [0x102d2ea0], eax
cmp ecx, 0xf
jbe 0x10039200
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100391f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003941d
push ecx
push edx
call fcn.100cbdc9
add esp, 8
mov esi, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x102d2ea0], 0
je 0x10039239
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push 0x4600400b
call dword [0x102d2ea0]
add esp, 0x10
mov ecx, dword [0x1044ea58]
movsx edx, word [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
vzeroupper
call eax
vmovss xmm0, dword [eax + 0x58]
vmovss dword [ebp - 0x24], xmm0
vmovss xmm0, dword [ebp - 0x6c]
vucomiss xmm0, dword [0x100e5274]
lahf
test ah, 0x44
jnp 0x1003945a
vmulss xmm0, xmm0, dword [ebp - 0xb0]
vmovss xmm1, dword [ebp - 0xa4]
vaddss xmm1, xmm0, xmm1
vmovss xmm0, dword [esi + 0x108]
vmovss dword [ebp - 0xa4], xmm1
vdivss xmm1, xmm1, dword [0x100e53e4]
vcvtss2sd xmm0, xmm0, xmm0
vcvtss2sd xmm1, xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov ecx, dword [ebp - 0xb8]
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, dword [edi]
vmovss dword [edi], xmm0
mov edi, dword [ebp - 0x4c]
test ecx, ecx
je 0x100392f7
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100392f7
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0xb8]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov byte [ebp - 0x9d], 1
cmp esi, eax
je 0x100392fe
mov byte [ebp - 0x9d], 0
test edi, edi
je 0x10039343
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10039343
cmp byte [ebp - 0x9d], 0
je 0x10039343
mov esi, dword [ebp - 0x54]
cmp esi, 7
jg 0x10039343
mov edx, dword [0x10452974]
mov eax, dword [0x10334bb4]
add edx, 0xffffffdd
xor edx, 0x83be0200
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10039423
vmovss xmm0, dword [ebp - 0xa4]
vcomiss xmm0, dword [0x100e53fc]
mov esi, dword [ebp - 0xbc]
jbe 0x10039384
vmovss xmm0, dword [esi + 0xf8]
vcomiss xmm0, dword [ebp - 0xc4]
ja 0x1003944e
vmovss xmm0, dword [0x100e51d0]
vcomiss xmm0, dword [ebp - 0x24]
ja 0x1003944e
cmp dword [ebp - 0x9c], 0
je 0x1003944e
mov ecx, dword [0x10452ca0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10452c9c]
fstp st(0)
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edi, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
sub esp, 0xc
fstp st(0)
push edi
push eax
mov eax, dword [ebp - 0xc0]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x98]
push eax
push esi
call fcn.100385c0
mov ecx, dword [ebp - 0xac]
test al, al
mov eax, dword [ebp - 0x9c]
mov dword [ecx], eax
je 0x1003945a
mov eax, dword [ebp - 0xd8]
vmovss xmm3, dword [ebp - 0xc4]
mov byte [eax], 0
vmovss xmm0, dword [edi]
vcomiss xmm0, xmm3
jbe 0x1003945a
vmovss xmm1, dword [ebp - 0xa4]
vmovss xmm4, dword [ebp - 0xb0]
jmp 0x10038ef0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0xa8]
push esi
push eax
sub esp, 8
push edi
call fcn.10037c40
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x54]
mov dword [ecx], eax
mov al, 1
jmp 0x1003945c
mov eax, dword [ebp - 0xac]
mov dword [eax], 0
xor al, al
vzeroupper
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.100cb949
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30