Function at 0x10035d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cd198
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x1026b040]
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
mov ebx, ecx
mov dword [ebp - 0x80], ebx
cmp dword [ebx + 0xc0], 0
je 0x10036643
mov ecx, dword [0x10633ee0]
add ecx, 0xfab78433
xor ecx, 0xc85d879a
cmp byte [ecx + 7], 0
je 0x10036643
cmp dword [ecx + 0x14c], 0
je 0x10036643
mov ecx, dword [ecx + 0xd8]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x1cc]
call eax
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10036643
cmp byte [0x102ec6fc], 0
je 0x10036643
mov ecx, dword [ebx + 0xb8]
mov eax, dword [ebx + 0xb4]
dec ecx
and ecx, dword [ebx + 0xbc]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
push dword [esi + 0x38]
mov ecx, dword [eax + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x10035e05
add dword [ebx + 0xc0], 0xffffffff
jne 0x10035dfa
mov dword [ebx + 0xbc], 0
jmp 0x10036643
inc dword [ebx + 0xbc]
jmp 0x10036643
mov eax, dword [0x10633ee0]
lea edx, [ebp - 0x98]
movd xmm1, dword [0x102ec708]
xorps xmm2, xmm2
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x98], 0
lea ecx, [eax - 0x5487bcd]
xor ecx, 0xc85d879a
movss dword [ebp - 0x8c], xmm1
mov ecx, dword [ecx + 0x108]
movss xmm0, dword [ecx]
lea ecx, [ebp - 0x84]
subss xmm0, dword [esi]
comiss xmm0, xmm2
movss dword [ebp - 0x84], xmm0
cmovae edx, ecx
lea ecx, [ebp - 0x8c]
comiss xmm1, xmm0
cmovae ecx, edx
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jb 0x10035eab
mov eax, dword [0x1031b004]
movss xmm1, dword [esi + 4]
add eax, 0xe57b4e31
xor eax, 0x147cb0fe
movss xmm0, dword [eax + 4]
mulss xmm0, dword [0x10258074]
subss xmm1, xmm0
comiss xmm2, xmm1
movss dword [esi + 4], xmm1
jae 0x10035de2
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [eax + 0xfc]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x8c], eax
call dword [ebp - 0x8c]
mov eax, dword [0x10633ee0]
lea edx, [ebp - 0x1c]
add eax, 0xfab78433
mov dword [ebp - 0x14], 0
xor eax, 0xc85d879a
xorps xmm0, xmm0
fstp dword [ebp - 0x94]
movq qword [ebp - 0x1c], xmm0
push edx
mov ecx, dword [eax + 0xfc]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
call eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [0x102ec700]
mov dword [ebp - 0xac], ebx
cmp eax, 4
jne 0x100360bc
push dword [ebx + 0x24]
lea ecx, [ebp - 0xb0]
push 0x102ec70c
call fcn.10036660
movd xmm0, dword [0x102ec704]
lea ecx, [ebp - 0x84]
movss xmm1, dword [0x1025805c]
lea eax, [ebp - 0x8c]
cvtdq2ps xmm0, xmm0
mov ebx, dword [ebx + 0x2c]
lea esi, [ebp - 0x98]
mov dword [ebp - 0x98], 0x3f800000
mov dword [ebp - 0x8c], 0
mulss xmm0, dword [0x10257f28]
subss xmm0, dword [0x10257f7c]
comiss xmm0, dword [0x10257eb8]
movss dword [ebp - 0x84], xmm0
cmovae eax, ecx
mov ecx, 0x102f1f00
comiss xmm1, xmm0
cmovae esi, eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.1002e620
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
mov ecx, ebx
push 1
cmova eax, dword [ebp - 0x34]
push 0
push eax
call edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.1001d970
test edi, edi
je 0x10036039
mov eax, dword [edi]
sub esp, 0xc
movss xmm0, dword [0x102ec724]
mov ecx, edi
movss xmm1, dword [0x102ec720]
movss xmm2, dword [0x102ec71c]
mov eax, dword [eax + 0x2c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
mov eax, dword [ebx]
mov ecx, 0x102f1a78
mov edi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.10037300
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
mov ecx, ebx
push 1
cmova eax, dword [ebp - 0x34]
push 0
push eax
call edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.1001d970
test edi, edi
je 0x100360b1
movss xmm0, dword [0x10258118]
sub esp, 0xc
movss xmm1, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mulss xmm1, xmm0
mov eax, dword [eax + 0x2c]
subss xmm0, xmm1
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call eax
push ebx
push 0x102ec71c
jmp 0x10036638
mov edi, dword [ebx + eax*4 + 0x1c]
cmp eax, 7
jne 0x1003616a
mov edi, dword [ebx + 0x38]
mov ecx, 0x102f2070
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.1002e620
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
mov ecx, edi
push 1
cmova eax, dword [ebp - 0x34]
push 0
push eax
call esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1001d970
test esi, esi
je 0x10036144
mov eax, dword [esi]
sub esp, 0xc
movss xmm0, dword [0x102ec714]
mov ecx, esi
movss xmm1, dword [0x102ec710]
movss xmm2, dword [0x102ec70c]
mov eax, dword [eax + 0x2c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
mov eax, dword [edi]
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [eax + 0x70]
jmp 0x10036632
cmp eax, 6
jne 0x100365ba
mov ecx, 0x102ec72c
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036180
sub ecx, edx
je 0x100365ba
mov eax, dword [0x10b0bafc]
test al, 1
jne 0x100361aa
or eax, 1
mov dword [0x10b0bafc], eax
mov eax, dword [ebx + 0x34]
mov dword [0x10b0baf8], eax
jmp 0x100361af
mov eax, dword [0x10b0baf8]
mov eax, dword [eax]
mov ecx, 0x102f1eb0
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x4c]
push eax
call fcn.100323a0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
mov ecx, dword [0x10b0baf8]
cmova eax, dword [ebp - 0x4c]
push 1
push 0
push eax
call esi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x84], esi
call fcn.1001d970
test esi, esi
je 0x10036531
mov esi, 0x102ec72c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10036208
sub esi, ecx
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x1003621b
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push esi
push 0x102ec72c
call fcn.100382e0
add esp, 8
test al, al
jne 0x10036531
push ecx
lea ecx, [ebp - 0x148]
call fcn.1002ee20
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
mov ecx, 0x102f2680
call fcn.10037220
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.10030fb0
add esp, 0xc
push 0x102ec72c
push eax
call fcn.10037e70
add esp, 8
mov edi, eax
cmp byte [0x102f25c0], 0
je 0x10036308
cmp byte [0x102f25c1], 0
jne 0x10036373
mov byte [0x102f25c1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102f267c]
xor ebx, dword [0x102f2678]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
shr ecx, 7
xor ebx, eax
xor edx, ecx
mov ecx, ebx
mov dword [ebp - 0x8c], edx
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [esi + 0x102f25c2]
xor cl, bl
mov byte [esi + 0x102f25c2], cl
inc esi
cmp esi, 0xb1
jb 0x100362a6
jmp 0x10036370
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x102f267c]
xor ebx, dword [0x102f2678]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
shr ecx, 7
xor ebx, eax
xor edx, ecx
mov ecx, ebx
mov dword [ebp - 0x8c], edx
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [esi + 0x102f25c2]
xor cl, bl
mov byte [esi + 0x102f25c2], cl
inc esi
cmp esi, 0xb1
jb 0x10036310
mov ebx, dword [ebp - 0x80]
push ecx
push 0x102f2672
push 0x102f25c2
lea ecx, [ebp - 0x64]
call fcn.100305a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0xf
push dword [ebp - 0x54]
cmova eax, dword [ebp - 0x64]
push eax
push edi
call fcn.10030fb0
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.1001d970
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.1001d970
lea eax, [ebp - 0x64]
mov ecx, 0x102f1ee0
push eax
call fcn.100322c0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0xf
lea ecx, [ebp - 0x148]
cmova eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1002ed30
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x100363fa
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x34]
mov ecx, 0x102f20b0
push eax
call fcn.10037060
mov byte [ebp - 4], 9
lea edi, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push 0x28
cmova edi, dword [ebp - 0x34]
call fcn.101c8ffd
mov edx, dword [0x1031af14]
add esp, 4
mov esi, eax
mov ecx, esi
push dword [ebp - 0x8c]
call edx
mov edx, dword [0x103807c4]
mov ecx, esi
push 0
push 0
push 0
push dword [ebp - 0x80]
push edi
call edx
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
push esi
push edi
mov ecx, dword [eax + 0xd8]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
lea ecx, [ebp - 0x34]
mov dword [0x10b0baf8], esi
call fcn.1001d970
lea ecx, [ebp - 0x7c]
call fcn.1001d970
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.1001d970
mov ecx, dword [ebp - 0x84]
push 0x102ec72c
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, 0x102ec72c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100364b4
sub ecx, edx
push ecx
push 0x102ec72c
mov ecx, ebx
call fcn.1002fce0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x148], 0x102520f0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x144]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.1002fbc0
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x10b0baf8]
mov ecx, 0x102f1f18
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x4c]
push eax
call fcn.1002e620
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
mov ecx, dword [0x10b0baf8]
cmova eax, dword [ebp - 0x4c]
push 1
push 0
push eax
call esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1001d970
test esi, esi
je 0x100365b2
mov eax, dword [esi]
sub esp, 0xc
movss xmm0, dword [0x102ec714]
mov ecx, esi
movss xmm1, dword [0x102ec710]
movss xmm2, dword [0x102ec70c]
mov eax, dword [eax + 0x2c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
push dword [0x10b0baf8]
jmp 0x10036633
mov eax, dword [edi]
mov ecx, 0x102f1870
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x4c]
push eax
call fcn.1002e620
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
mov ecx, edi
push 1
cmova eax, dword [ebp - 0x4c]
push 0
push eax
call esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1001d970
test esi, esi
je 0x10036632
mov eax, dword [esi]
sub esp, 0xc
movss xmm0, dword [0x102ec714]
mov ecx, esi
movss xmm1, dword [0x102ec710]
movss xmm2, dword [0x102ec70c]
mov eax, dword [eax + 0x2c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
push edi
push 0x102ec70c
lea ecx, [ebp - 0xb0]
call fcn.10036660
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.101c8fef
mov esp, ebp
pop ebp
ret