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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043410
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1004e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor edi, edi
movq qword [ebp - 0x28], xmm0
xor esi, esi
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x20], esi
xor eax, eax
mov dword [ebp - 4], esi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov ecx, dword [0x10053180]
mov eax, dword [ecx]
mov eax, dword [eax + 0x158]
call eax
mov ecx, dword [0x10053180]
movzx edx, ax
mov dword [ebp - 0x30], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
mov edx, dword [ebp - 0x30]
cmp dx, ax
je 0x100391f3
mov ecx, dword [0x10053180]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x164]
call eax
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100391b1
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100390f0
xor edx, edx
test ecx, ecx
je 0x10039146
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039100
cmp edi, 0xbb2da711
jne 0x10039146
cmp dword [ebp - 0x40], ebx
je 0x1003912e
mov eax, dword [ebp - 0x2c]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x24], ebx
jmp 0x100391b1
lea eax, [ebp - 0x2c]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.100125c0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
jmp 0x100391b1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039160
xor edx, edx
test ecx, ecx
je 0x100391b1
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039170
cmp edi, 0xd402d032
jne 0x100391b1
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x3c], esi
je 0x1003919e
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x100391b1
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.100125c0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov ecx, dword [0x10053180]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x15c]
call eax
mov ecx, dword [0x10053180]
movzx eax, ax
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
mov edx, dword [ebp - 0x30]
cmp dx, ax
jne 0x100390c1
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], eax
mov eax, dword [0x1005132c]
mov ecx, dword [0x10051330]
cmp eax, ecx
je 0x10039212
cmp dword [eax], 0
je 0x100392ee
add eax, 4
cmp eax, ecx
jne 0x10039202
mov esi, ebx
xor eax, eax
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ebx
mov ebx, edi
cmova esi, eax
test esi, esi
je 0x1003925e
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [ebx]
sub esp, 0xc
mov eax, dword [ecx]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x70]
call eax
inc edi
lea ebx, [ebx + 4]
cmp edi, esi
jne 0x10039230
mov edi, dword [ebp - 0x2c]
mov ecx, dword [0x10053244]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 0xffffffff
je 0x1003927f
push 0xffffffffffffffff
mov ecx, dword [0x10053244]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x10051438], 0
mov ecx, dword [0x10053244]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
je 0x100393c3
call eax
test eax, eax
je 0x100392ac
mov ecx, dword [0x10053244]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ebx, dword [ebp - 0x34]
xor ecx, ecx
mov esi, dword [ebp - 0x18]
sub esi, ebx
mov dword [ebp - 0x38], ebx
add esi, 3
shr esi, 2
cmp ebx, dword [ebp - 0x18]
cmova esi, ecx
test esi, esi
je 0x1003941f
xor edi, edi
nop
mov ecx, dword [ebx]
push ecx
mov dword [esp], 0x3f59999a
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
inc edi
lea ebx, [ebx + 4]
cmp edi, esi
jne 0x100392d0
jmp 0x10039419
cmp eax, ecx
je 0x10039212
mov eax, ebx
mov dword [ebp - 0x44], 0
sub eax, edi
xor ecx, ecx
add eax, 3
shr eax, 2
cmp edi, ebx
cmova eax, ecx
mov ecx, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x100393a7
movss xmm1, dword [0x10046558]
mov ebx, eax
nop dword [eax + eax]
mov edi, dword [ecx]
sub esp, 0xc
mov eax, dword [0x100513c4]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov esi, dword [edi]
movd xmm0, ecx
mov ecx, eax
cvtdq2ps xmm0, xmm0
shr ecx, 8
movzx edx, cl
mov ecx, edi
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, dword [esi + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
call eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
inc eax
movss xmm1, dword [0x10046558]
add ecx, 4
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x44], eax
cmp eax, ebx
jne 0x10039330
mov edi, dword [ebp - 0x2c]
mov ecx, dword [0x10053244]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1003927f
push 0
jmp 0x10039272
call eax
cmp eax, 0xffffffff
je 0x100393d9
mov ecx, dword [0x10053244]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ebx, dword [ebp - 0x34]
xor ecx, ecx
mov esi, dword [ebp - 0x18]
sub esi, ebx
mov dword [ebp - 0x38], ebx
add esi, 3
shr esi, 2
cmp ebx, dword [ebp - 0x18]
cmova esi, ecx
test esi, esi
je 0x1003941f
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [ebx]
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
inc edi
lea ebx, [ebx + 4]
cmp edi, esi
jne 0x10039400
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
test ebx, ebx
je 0x10039455
mov ecx, dword [ebp - 0x3c]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1003944b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003944b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.1003e156
add esp, 8
test edi, edi
je 0x1003948b
mov ecx, dword [ebp - 0x40]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10039481
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039481
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1003e156
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003dcc3
mov esp, ebp
pop ebp
ret