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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov esi, esp
mov dword [esi + 0x188], ebp
mov ebx, ecx
mov dword [esi + 0x18c], esp
mov dword [esi + 0x198], 0xffffffff
lea eax, [esi + 0x190]
mov dword [esi + 0x194], 0x10049d90
mov ecx, dword fs:[0]
mov dword [esi + 0x190], ecx
mov dword fs:[0], eax
mov ecx, dword [0x102a2380]
mov eax, dword [ecx]
call dword [eax + 0x68]
test al, al
je 0x100494d4
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov ecx, dword [ecx]
test ecx, ecx
je 0x100494d4
mov edx, dword [eax + 0x184]
cmp byte [edx + ecx], 0
je 0x100494e8
mov eax, dword [esi + 0x190]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [eax + 0x1c]
cmp dword [eax + ecx], 0
jle 0x100494d4
xorps xmm0, xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x30], xmm0
mov dword [esi + 0xe1], 0
mov dword [esi + 0xdd], 0
movups xmmword [esi + 0xe8], xmm0
movups xmmword [esi + 0xf8], xmm0
movups xmmword [esi + 0x108], xmm0
movups xmmword [esi + 0x118], xmm0
movups xmmword [esi + 0x128], xmm0
movups xmmword [esi + 0x138], xmm0
movups xmmword [esi + 0x148], xmm0
movups xmmword [esi + 0x158], xmm0
mov dword [esi + 0x16a], 0
mov dword [esi + 0x166], 0
movaps xmmword [esi + 0x170], xmm0
mov byte [esi + 0x180], 0
mov edi, dword [0x102a2380]
mov eax, dword [ecx + 8]
add ecx, 8
call dword [eax + 0x28]
mov edx, dword [edi]
mov ecx, edi
lea edi, [esi + 0x30]
push edi
push eax
call dword [edx + 0x20]
test al, al
je 0x100494d4
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x38]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov eax, dword [eax + 0x178]
mov edx, dword [ecx]
mov ecx, dword [0x102a2384]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov dword [esi + 0x198], 0
push eax
call edx
test eax, eax
je 0x10049c7b
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov eax, dword [eax + 0x178]
mov edx, dword [ecx]
mov ecx, dword [0x102a2384]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov edx, dword [0x102a22ac]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0x108]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
test eax, eax
je 0x10049c7b
mov dword [esi + 4], 0
jmp 0x1004966d
inc dword [esi + 4]
mov dword [esi + 0x198], 0
mov ecx, dword [0x102a2384]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [esi + 4]
cmp edx, eax
jge 0x1004996c
mov ecx, dword [0x102a2384]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
test eax, eax
je 0x10049660
mov ecx, eax
add ecx, 8
mov edx, dword [eax + 8]
mov dword [esi + 8], eax
call dword [edx + 8]
mov edi, dword [esi + 8]
test eax, eax
je 0x10049660
cmp dword [eax + 0x14], 0x76
jne 0x10049823
mov ecx, dword [0x102a2384]
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0x244]
mov edx, dword [ecx]
push dword [eax + edi]
call dword [edx + 0x10]
test eax, eax
je 0x10049660
mov edx, dword [0x102a22ac]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0x108]
mov edx, dword [ecx]
movzx edi, word [edi + eax]
push edi
mov dword [esi + 0xc], eax
call dword [edx + 8]
mov edi, dword [esi + 0xc]
test eax, eax
je 0x10049660
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov edi, dword [esi + 0xc]
cmp dword [eax + 0xc8], 0
jne 0x10049660
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 0x108]
cmp word [ecx + edi], 0x1f
je 0x10049660
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 8]
dec ecx
cmp ecx, 5
ja 0x10049660
mov ecx, dword [eax + 0x128]
mov edx, dword [esi + 0x18]
cmp dword [ecx + edi], edx
jne 0x10049660
mov ecx, dword [0x102a2384]
mov eax, dword [eax + 0x164]
mov edx, dword [ecx]
push dword [eax + edi]
call dword [edx + 0x10]
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x10049660
mov eax, dword [0x102a239c]
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x30]
push eax
call fcn.100488c0
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x10049797
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
mov dword [esi + 0x198], 1
push eax
call edx
mov ecx, dword [0x102a22ac]
mov ecx, dword [ecx + 0x1d8]
mov edx, dword [esi + 8]
mov dword [ecx + edx], eax
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.100075b0
mov eax, dword [0x102a239c]
mov dword [esi + 8], eax
mov dword [esi + 0x198], 0
mov ecx, dword [esi + 0x10]
push edi
call fcn.10048210
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x100497ef
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
mov dword [esi + 0x198], 2
push eax
call edx
mov ecx, dword [0x102a22ac]
mov ecx, dword [ecx + 0x1d8]
mov edx, dword [esi + 0xc]
mov dword [ecx + edx], eax
lea ecx, [esi + 0x30]
call fcn.100075b0
jmp 0x10049660
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x280]
mov edi, dword [esi + 8]
test al, al
je 0x10049660
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov edi, dword [esi + 8]
test eax, eax
je 0x10049660
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 0x128]
mov edx, dword [esi + 0x18]
cmp dword [ecx + edi], edx
jne 0x10049660
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov ebx, dword [esi + 8]
cmp dword [eax + 0xc8], 0
mov eax, dword [0x102a22ac]
jne 0x1004992b
mov ecx, dword [eax + 0x108]
cmp word [ecx + ebx], 0x1f
je 0x1004992b
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 8]
lea edi, [edx - 1]
cmp edi, 5
ja 0x1004992b
movzx eax, word [edx + edx + 0x101493fe]
mov word [ebx + ecx], ax
mov eax, dword [0x102a239c]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x30]
push eax
call fcn.100488c0
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x100498e5
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
mov dword [esi + 0x198], 3
push eax
call edx
mov ecx, dword [0x102a22ac]
mov ecx, dword [ecx + 0x1d8]
mov ebx, dword [esi + 8]
mov dword [ecx + ebx], eax
lea ecx, [esi + 0x30]
call fcn.100075b0
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0x110]
mov dword [eax + ebx], 3
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
movzx eax, word [eax + ebx]
mov dword [esi + 0x198], 0
push eax
call edx
mov edx, dword [esi + 8]
cmp dword [eax + 0xc8], 0
je 0x10049660
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x1c]
push eax
push edx
call fcn.10049140
jmp 0x10049660
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x8d4], 0
je 0x10049c7b
mov eax, dword [0x102a22bc]
bswap eax
mov edx, dword [0x102a22c0]
add edx, eax
mov ecx, dword [0x102a22c4]
ror edx, cl
movss xmm0, dword [edx + 0x10]
mov eax, dword [esi + 0x10]
ucomiss xmm0, dword [eax + 0x8d0]
jb 0x10049c7b
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], ecx
jmp 0x100499ca
xor ecx, ecx
push 0
mov eax, dword [esi + 0xc]
push dword [eax]
push 0
call dword [0x102a2400]
mov eax, dword [esi + 0xc]
add eax, 4
cmp eax, dword [esi + 0x28]
je 0x10049c45
mov dword [esi + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100499c4
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
mov dword [esi + 0x198], 0
call eax
test al, al
je 0x100499c4
mov eax, dword [0x102a22c8]
bswap eax
mov edx, dword [0x102a22cc]
add edx, eax
mov ecx, dword [0x102a22d0]
ror edx, cl
cmp dword [edx + 0x174], 0xffffffff
je 0x100499c4
mov edi, dword [esi + 0xc]
mov eax, dword [edi]
mov ecx, dword [0x102a22ac]
mov ecx, dword [ecx + 0x118]
cmp dword [ecx + eax], 0
setle byte [eax + 0x32dd]
mov eax, dword [edi]
mov ecx, dword [0x102a22ac]
mov edx, dword [ecx + 0x138]
mov dword [eax + edx + 0x20], 0
mov eax, dword [edi]
mov dword [eax + 0x9e8], 0
mov eax, dword [edi]
mov ecx, dword [ecx + 0x138]
mov edx, dword [eax + ecx + 0x22c]
xor ebx, ebx
mov dword [esi + 0x14], edx
jmp 0x10049a78
mov dword [edi + ebx*4], 0
inc ebx
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [0x102a22ac]
mov ecx, dword [ecx + 0x138]
cmp ebx, edx
jae 0x10049ade
mov edi, dword [eax + ecx + 0x220]
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x10049a77
lock dec dword [eax + 4]
jne 0x10049a70
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x198], 0
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ecx
call eax
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
mov edx, dword [esi + 0x14]
test al, al
je 0x10049a70
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
mov edx, dword [esi + 0x14]
jmp 0x10049a70
mov dword [eax + ecx + 0x22c], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x198], 0
mov dword [esi + 4], ecx
push 0
call eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
mov eax, dword [0x102a23e4]
mov dword [esi + 0x14], eax
mov eax, dword [eax + 0x28]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x100499b3
xor ecx, ecx
jmp 0x10049b50
cmp dword [esi + 4], 0x802b0f6
je 0x10049c2a
mov ecx, dword [esi + 0x18]
inc ecx
mov dword [esi + 0x198], 0
cmp ecx, dword [esi + 0x2c]
je 0x100499b3
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x18], ecx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x30]
xor edx, edx
mov edi, 1
nop dword [eax + eax]
mov ecx, edi
cmp byte [eax + edx + 1], 0
lea edx, [edx + 1]
lea edi, [edi + 1]
jne 0x10049b70
mov ebx, edx
sub ebx, 1
jb 0x10049b39
mov edi, eax
cmp ebx, 3
jae 0x10049b9a
mov dword [esi + 4], 0x45c3370d
xor ebx, ebx
mov eax, edi
jmp 0x10049bfb
mov eax, ecx
and eax, 0xfffffffc
mov dword [esi + 8], eax
mov dword [esi + 4], 0x45c3370d
xor ebx, ebx
mov eax, edi
nop dword [eax]
movsx edi, byte [eax + ebx]
xor edi, dword [esi + 4]
imul edi, edi, 0x1000193
mov dword [esi + 4], edi
movsx edi, byte [eax + ebx + 1]
xor edi, dword [esi + 4]
imul edi, edi, 0x1000193
mov dword [esi + 4], edi
movsx edi, byte [eax + ebx + 2]
xor edi, dword [esi + 4]
imul edi, edi, 0x1000193
mov dword [esi + 4], edi
movsx edi, byte [eax + ebx + 3]
xor edi, dword [esi + 4]
imul edi, edi, 0x1000193
mov dword [esi + 4], edi
add ebx, 4
cmp dword [esi + 8], ebx
jne 0x10049bb0
test dl, 3
je 0x10049b2c
add eax, ebx
and ecx, 3
xor edx, edx
nop dword [eax + eax]
movsx edi, byte [eax + edx]
xor edi, dword [esi + 4]
imul edi, edi, 0x1000193
mov dword [esi + 4], edi
inc edx
cmp ecx, edx
jne 0x10049c10
jmp 0x10049b2c
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x18]
mov ecx, dword [eax + ecx*4]
mov dword [esi + 0x198], 0
jmp 0x100499b5
mov edi, dword [esi + 0x10]
mov byte [edi + 0x8d4], 0
mov eax, dword [0x102a22bc]
bswap eax
mov edx, dword [0x102a22c0]
add edx, eax
mov ecx, dword [0x102a22c4]
ror edx, cl
movss xmm0, dword [edx + 0x10]
addss xmm0, dword [0x10147700]
movss dword [edi + 0x8d0], xmm0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x100494d4
mov eax, dword [esi + 0x24]
sub eax, ecx
cmp eax, 0x1000
jb 0x10049ca4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10049cb3
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100ea090
add esp, 8
jmp 0x100494d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x19c]
mov ebp, dword [esi + 0x188]
lea ecx, [esi + 0x30]
call fcn.100075b0
add esp, 0xc
pop ebp
ret