Function at 0x10001e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f38f
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x10050080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x60], 0
mov esi, dword [0x10051f6c]
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x48], esi
jbe 0x10001ed5
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x118], 0x100488a4
call fcn.10006d50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x60], 2
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 - 0x118]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x11c], eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x118]
add ecx, dword [eax + 4]
call fcn.10007310
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.100070b0
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
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 4
mov dword [ebp - 4], 3
lea eax, [ebp - 0x6c]
push dword [esi + 0x74]
mov dword [ebp - 0x74], eax
mov ecx, esi
lea eax, [ebp - 0x80]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x20]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x78], 0x10002bb0
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x4c], 0x10047df4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
call fcn.1000bfb0
mov edx, dword [ebp - 0x58]
mov ecx, esi
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
call fcn.1000ea40
mov dl, byte [ebp - 0x44]
lea ecx, [ebp - 0x118]
add esp, 0x14
call fcn.100026e0
cmp dword [ebp - 0x44], 0
mov ecx, dword [esi + 8]
lea edx, [ecx - 0x10]
je 0x10002141
cmp dword [edx + 8], 4
je 0x10002118
mov ecx, esi
call fcn.10016230
test eax, eax
jne 0x10002100
mov dword [ebp - 0x44], eax
xor esi, esi
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.10002700
push 0
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x118]
call fcn.10006280
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
add dword [eax + 8], 0xfffffff0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 5
mov dword [edi + 0x14], 0xf
mov eax, dword [str.error]
mov dword [edi], eax
mov al, byte [0x10047dfc]
mov byte [edi + 4], al
mov eax, dword [ebp - 0x118]
mov byte [edi + 5], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.10005be0
mov eax, dword [ebp - 0x118]
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 - 0x118]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0x11c], ecx
mov dword [ebp - 4], 4
jmp 0x10002424
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x10002112
mov ecx, esi
call fcn.1000d2d0
mov edx, dword [esi + 8]
sub edx, 0x10
mov ecx, dword [edx]
add ecx, 0x10
mov dword [ebp - 0x44], ecx
je 0x1000203f
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10002130
sub esi, edx
mov dword [ebp - 0x44], ecx
jmp 0x10002041
mov eax, dword [edx + 8]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x1000214c.3
jmp dword [eax*4 + 0x1000246c]
mov edx, dword [edx]
jmp 0x10002173
mov eax, dword [ecx - 8]
sub eax, 2
je 0x1000216c
sub eax, 5
jne case.0x1000214c.3
mov edx, dword [ecx - 0x10]
add edx, 0x18
jmp 0x10002173
mov edx, dword [ecx - 0x10]
jmp 0x10002173
xor edx, edx
push dword [ebp + 0x10]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x118]
push dword [ebp + 0xc]
call fcn.10002490
add dword [esi + 8], 0xfffffff0
lea eax, [ebp - 0x40]
add esp, 8
lea ecx, [ebp - 0x114]
push eax
call fcn.10006c50
mov byte [ebp - 4], 5
xor esi, esi
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
cmp ecx, 0x7e000000
jbe 0x100021c3
xor edi, edi
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x10002243
mov eax, 0x80808081
imul ecx
xor eax, eax
add edx, ecx
mov dword [ebp - 0x4c], eax
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, 0x10
add edi, edx
add edi, ecx
je 0x10002243
cmp edi, 0x7fffffff
ja 0x1000245a
cmp edi, 0x1000
jb 0x1000221d
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1000245f
push eax
call fcn.1001adff
add esp, 4
test eax, eax
je 0x10002464
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10002228
push edi
call fcn.1001adff
add esp, 4
mov esi, eax
push edi
lea eax, [esi + edi]
mov dword [ebp - 0x54], esi
push 0
push esi
mov dword [ebp - 0x4c], eax
call fcn.1001cb50
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov edx, esi
cmova ecx, dword [ebp - 0x40]
push ecx
push edi
push dword [ebp - 0x44]
call fcn.10019c80
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
add esp, 0xc
mov dword [ebp - 0x28], 0x31425352
mov edi, eax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
push edi
push esi
cmp edi, 7
ja 0x100022a9
lea eax, [edi + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001c550
add esp, 0xc
mov byte [ebp + edi - 0x20], 0
jmp 0x100022b9
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x48]
push edi
call fcn.10007b60
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push 0x2a
call fcn.10019ec0
xor ecx, ecx
mov dword [ebp - 0x48], eax
add esp, 4
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x18], ecx
jbe 0x1000230b
nop
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x44]
cmova edx, dword [ebp - 0x28]
add edx, ecx
movsx eax, al
and ecx, 3
imul eax, eax, 0x29
add al, byte [ebp + ecx - 0x48]
mov ecx, dword [ebp - 0x44]
xor byte [edx], al
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x100022e0
mov edi, dword [ebp - 0x64]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 5
test esi, esi
je 0x1000237a
mov ecx, dword [ebp - 0x4c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10002370
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002464
push ecx
push esi
call fcn.1001b14b
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100023b2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100023a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002464
push ecx
push edx
call fcn.1001b14b
add esp, 8
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x114]
call fcn.10005be0
mov eax, dword [ebp - 0x118]
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 - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x11c], eax
mov dword [ebp - 4], 8
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], vtable.std::ios_base.0
push eax
call fcn.1001a64a
mov eax, edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ad0c
mov esp, ebp
pop ebp
ret
call fcn.10007560
call fcn.100011e0
call fcn.10024339
nop dword [eax]
push edi
and dword [eax], eax
adc byte [ecx + 0x21], dh
add byte [eax], dl
jno 0x10002497
add byte [eax], dl
push ebx
and dword [eax], eax
adc byte [ebx + 0x21], dl
add byte [eax], dl
push edi
and dword [eax], eax
adc byte [ebx + 0x21], dl
add byte [eax], dl
int3
add edx, dword [eax]