Function at 0x100874b0
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 0x10269b96
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x103230ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x103ae4c8
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x224], 0
call fcn.10042be0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x64]
mov eax, dword [edi]
mov ecx, edi
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x224], 3
cmovae esi, dword [ebp - 0x64]
mov eax, dword [eax + 4]
call eax
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10087560
test cl, cl
je 0x1008755c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10087560
add eax, 2
add esi, 2
test cl, cl
jne 0x10087540
xor eax, eax
jmp 0x10087565
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10087588
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
mov byte [ebp - 0x22d], 0
xor eax, 0x43f50f5d
cmp dword [eax + 0x134], 0
jne 0x1008758f
mov byte [ebp - 0x22d], 1
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.1002aa60
cmp byte [ebp - 0x22d], 0
jne 0x10087e03
test byte [0x103a7914], 8
je 0x10087e03
mov eax, dword [edi]
mov ecx, 0x103ae3d0
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.10042ff0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ecx, edi
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1002aa60
test esi, esi
je 0x10087e03
mov ecx, dword [0x10c0dd10]
xor eax, eax
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
push esi
mov ecx, dword [ecx + 0xac]
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x10c0dd10]
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
push eax
mov ecx, dword [ecx + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [ebp - 0x248], eax
test eax, eax
je 0x10087e03
mov ecx, dword [0x10c0dd10]
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
mov edx, dword [ecx + 0x134]
mov dword [ebp - 0x240], edx
test edx, edx
je 0x100878e2
cmp eax, edx
je 0x10087e03
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x100878e2
mov ecx, dword [0x103c3bdc]
test cl, 1
jne 0x10087818
or ecx, 1
mov dword [0x103c3bdc], ecx
mov dword [ebp - 4], 2
mov eax, dword [0x103bf630]
mov ecx, dword [0x103bf634]
mov dword [ebp - 0x22c], eax
cmp eax, ecx
je 0x10087722
mov eax, dword [eax]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x1008770f
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100876e0
xor edx, edx
test ecx, ecx
je 0x10087709
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100876f0
cmp esi, 0x1eee87cc
je 0x1008773b
mov ecx, dword [0x103bf634]
mov eax, dword [ebp - 0x22c]
add eax, 4
mov dword [ebp - 0x22c], eax
cmp eax, ecx
jne 0x100876c6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x103c3bdc]
mov dword [0x103c3b94], eax
jmp 0x1008781d
mov eax, dword [ebp - 0x228]
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], edi
cmp dword [eax + 4], edi
jle 0x100877fd
xor ecx, ecx
mov dword [ebp - 0x234], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x238], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1008779d
cmp dword [ecx + 4], 0
jle 0x1008779d
push 0
mov edx, 0xa5bfefb3
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10087797
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp - 0x228]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x100877a6
xor edx, edx
test ecx, ecx
je 0x100877d2
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100877b3
cmp esi, 0xa5bfefb3
je 0x10087804
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x234]
inc edx
mov edi, dword [ebp - 0x224]
add ecx, 0x3c
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x234], ecx
cmp edx, dword [eax + 4]
jl 0x10087760
mov eax, edi
jmp 0x10087724
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x224]
jmp 0x10087724
mov eax, dword [0x103c3b94]
mov edx, dword [ebp - 0x248]
mov edx, dword [eax + edx]
mov dword [ebp - 0x23c], edx
test cl, 1
jne 0x100878cd
or ecx, 1
mov dword [0x103c3bdc], ecx
mov dword [ebp - 4], 3
mov eax, dword [0x103bf630]
mov ecx, dword [0x103bf634]
mov dword [ebp - 0x234], eax
cmp eax, ecx
je 0x100878b9
nop word [eax + eax]
mov eax, dword [eax]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x100878a6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087876
xor edx, edx
test ecx, ecx
je 0x100878a0
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087883
cmp esi, 0x1eee87cc
je 0x10087a51
mov ecx, dword [0x103bf634]
mov eax, dword [ebp - 0x234]
add eax, 4
mov dword [ebp - 0x234], eax
cmp eax, ecx
jne 0x10087860
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
mov dword [0x103c3b94], eax
mov ecx, dword [ebp - 0x240]
cmp edx, dword [ecx + eax]
je 0x10087e03
mov edi, dword [ebp - 0x244]
mov eax, dword [edi]
mov ecx, 0x103ae370
mov dword [ebp - 0x228], 0xffffffff
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x94]
push eax
call fcn.10042ff0
mov dword [ebp - 0x224], 0xe
mov dword [ebp - 4], 4
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 0x10
mov ecx, edi
push 0x10304658
cmovae eax, dword [ebp - 0x94]
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x240], eax
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
push 0x158
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.102372c0
mov eax, dword [0x10c0dd10]
add esp, 0xc
mov ecx, dword [ebp - 0x248]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
add ecx, 8
mov esi, dword [eax + 0xac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
xor edx, edx
lea ecx, [ebp - 0x220]
test esi, esi
push ecx
cmovne edx, esi
mov ecx, esi
push eax
mov edx, dword [edx]
mov edx, dword [edx + 0x20]
call edx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100879d0
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002c1c0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x224], 0x2e
call fcn.10044de0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x224], 0x4e
cmp ecx, 0x10
jb 0x10087b3f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
mov dword [ebp - 4], 9
cmp ecx, 0x1000
jb 0x10087b35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10087e23
jmp 0x10087b35
mov eax, dword [ebp - 0x228]
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x234], edi
cmp dword [eax + 4], edi
jle 0x10087b1a
xor ecx, ecx
mov dword [ebp - 0x22c], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x238], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10087ab3
cmp dword [ecx + 4], 0
jle 0x10087ab3
push 0
mov edx, 0xa5bfefb3
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10087aad
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp - 0x228]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087ac0
xor edx, edx
test ecx, ecx
je 0x10087aef
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087ad0
cmp esi, 0xa5bfefb3
je 0x10087b21
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x22c]
inc edx
mov edi, dword [ebp - 0x224]
add ecx, 0x3c
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x22c], ecx
cmp edx, dword [eax + 4]
jl 0x10087a76
mov eax, edi
jmp 0x100878bb
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x224]
jmp 0x100878bb
push ecx
push edx
call fcn.10235505
add esp, 8
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x103ae388
call fcn.1004a8b0
mov dword [ebp - 0x224], 0xce
cmp dword [ebp - 0x68], 0x10
lea esi, [ebp - 0x7c]
cmovae esi, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0xb
call fcn.10044690
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x34], eax
mov ecx, 2
mov dword [ebp - 0x30], 2
lea eax, [ebp - 0x24]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10087b92
push dword [ebp - 0x30]
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], 0x1008a480
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x160]
lea eax, [ebp - 0x240]
mov dword [ebp - 0x24], fcn.1002ecc0
mov edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x1008a5d0
mov dword [ebp - 0x18], fcn.1002ecc0
call fcn.1003dfa0
add esp, 8
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x160]
push eax
call fcn.100445a0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x224], 0x1ce
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x103047f4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x15c]
call fcn.100441f0
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x164], eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10234062
mov byte [ebp - 4], 0xb
add esp, 4
movss xmm1, dword [0x1030bb18]
movss xmm0, dword [0x103a7e0c]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x103a7e08]
mulss xmm0, xmm1
mov dword [ebp - 0x244], eax
cvttss2si edx, xmm0
movss xmm0, dword [0x103a7e04]
mulss xmm0, xmm1
mov byte [ebp - 0x22a], dl
cvttss2si ecx, xmm0
movss xmm0, dword [0x103a7e00]
mulss xmm0, xmm1
mov byte [ebp - 0x22b], cl
mov ecx, 0x103ae3a0
cvttss2si eax, xmm0
mov byte [ebp - 0x22c], al
mov eax, dword [ebp - 0x244]
mov byte [ebp - 0x229], al
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], eax
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov esi, dword [eax + 0xd0]
lea eax, [ebp - 0x2c]
push eax
call fcn.10042be0
mov dword [ebp - 0x224], 0x3ce
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [eax + 0x64]
lea ecx, [ebp - 0x23c]
push ecx
push esi
call eax
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.1002aa60
mov eax, dword [0x10c0dd10]
lea ecx, [ebp - 0x4c]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
cmp dword [ebp - 0x38], 0x10
cmovae ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax + 0xd0]
lea ecx, [ebp - 0x228]
push str._s__n
push ecx
push edx
mov eax, dword [edx]
mov eax, dword [eax + 0x64]
call eax
mov esi, dword [ebp - 0x24c]
add esp, 0x10
call fcn.1023af68
lea ecx, [ebp - 0x2c]
movd xmm0, eax
mov eax, dword [ebp - 0x228]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
mulss xmm0, dword [0x1030b6fc]
movss dword [ebp - 0x34], xmm0
call fcn.10044de0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [esi + 4]
call fcn.10087440
lea ecx, [ebp - 0x2c]
call fcn.1002aa60
lea ecx, [ebp - 0x4c]
call fcn.1002aa60
lea ecx, [ebp - 0x7c]
call fcn.1002aa60
lea ecx, [ebp - 0xc4]
call fcn.1002aa60
lea ecx, [ebp - 0x94]
call fcn.1002aa60
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.1023505f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1023acad
int3