Function at 0x1004de20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10221558
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x102d2084]
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 - 0x84], ebx
cmp dword [ebx + 0xc4], 0
je 0x1004e768
mov ecx, dword [0x10bbb620]
add ecx, 0x91761abb
xor ecx, 0xfd410b50
cmp byte [ecx + 7], 0
je 0x1004e768
cmp dword [ecx + 0x134], 0
je 0x1004e768
mov ecx, dword [ecx + 0xc0]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x1cc]
call eax
mov dword [ebp - 0x94], eax
test eax, eax
je 0x1004e768
cmp byte [0x10355568], 0
je 0x1004e768
mov ecx, dword [ebx + 0xbc]
mov eax, dword [ebx + 0xb8]
dec ecx
and ecx, dword [ebx + 0xc0]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
push dword [edi + 0x3c]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x1004df18
add dword [ebx + 0xc4], 0xffffffff
jne 0x1004df0d
mov dword [ebx + 0xc0], 0
jmp 0x1004e768
inc dword [ebx + 0xc0]
jmp 0x1004e768
mov eax, dword [0x10bbb620]
lea edx, [ebp - 0x88]
movd xmm1, dword [0x10355574]
lea esi, [ebp - 0x8c]
xorps xmm2, xmm2
mov dword [ebp - 0x8c], 0
cvtdq2ps xmm1, xmm1
lea ecx, [eax - 0x6e89e545]
xor ecx, 0xfd410b50
mov ecx, dword [ecx + 0xf0]
movss dword [ebp - 0x80], xmm1
movss xmm0, dword [ecx]
subss xmm0, dword [edi]
comiss xmm2, xmm0
movss dword [ebp - 0x88], xmm0
seta cl
test cl, cl
cmove esi, edx
lea edx, [ebp - 0x80]
comiss xmm0, xmm1
seta cl
test cl, cl
cmove edx, esi
movss xmm0, dword [edx]
comiss xmm0, xmm1
jb 0x1004dfc2
mov eax, dword [0x103bb7e4]
movss xmm1, dword [edi + 4]
add eax, 0x5f05664a
xor eax, 0xc1d56fa6
movss xmm0, dword [eax + 4]
mulss xmm0, dword [0x102ba7d0]
subss xmm1, xmm0
comiss xmm2, xmm1
movss dword [edi + 4], xmm1
jae 0x1004def5
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov ecx, dword [eax + 0xe4]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x80], eax
call dword [ebp - 0x80]
mov eax, dword [0x10bbb620]
lea edx, [ebp - 0x1c]
add eax, 0x91761abb
mov dword [ebp - 0x14], 0
xor eax, 0xfd410b50
xorps xmm0, xmm0
fstp dword [ebp - 0x90]
movq qword [ebp - 0x1c], xmm0
push edx
mov ecx, dword [eax + 0xe4]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
call eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [0x1035556c]
mov dword [ebp - 0xa4], ebx
cmp eax, 4
jne 0x1004e1cc
push dword [ebx + 0x24]
lea ecx, [ebp - 0xa8]
push 0x10355578
call fcn.1004e790
movd xmm0, dword [0x10355570]
lea edx, [ebp - 0x88]
cvtdq2ps xmm0, xmm0
mov ebx, dword [ebx + 0x2c]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x8c], 0x3f800000
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x80], 0
xorps xmm1, xmm1
mulss xmm0, dword [0x102ba670]
subss xmm0, dword [0x102ba6d0]
comiss xmm1, xmm0
movss dword [ebp - 0x88], xmm0
seta al
test al, al
cmove ecx, edx
comiss xmm0, dword [0x102ba7b4]
seta al
test al, al
mov eax, dword [ebx]
cmove esi, ecx
mov ecx, 0x1035adb8
mov edi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.100428f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
mov ecx, ebx
push 1
cmovae eax, dword [ebp - 0x34]
push 0
push eax
call edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.1002b860
test edi, edi
je 0x1004e149
mov eax, dword [edi]
sub esp, 0xc
movss xmm0, dword [0x10355590]
mov ecx, edi
movss xmm1, dword [0x1035558c]
movss xmm2, dword [0x10355588]
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, 0x1035a930
mov edi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.1004f410
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
mov ecx, ebx
push 1
cmovae eax, dword [ebp - 0x34]
push 0
push eax
call edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.1002b860
test edi, edi
je 0x1004e1c1
movss xmm0, dword [0x102ba884]
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 0x10355588
jmp 0x1004e75d
mov edi, dword [ebx + eax*4 + 0x1c]
cmp eax, 7
jne 0x1004e27a
mov edi, dword [ebx + 0x38]
mov ecx, 0x1035af28
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.100428f0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
mov ecx, edi
push 1
cmovae eax, dword [ebp - 0x34]
push 0
push eax
call esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1002b860
test esi, esi
je 0x1004e254
mov eax, dword [esi]
sub esp, 0xc
movss xmm0, dword [0x10355580]
mov ecx, esi
movss xmm1, dword [0x1035557c]
movss xmm2, dword [0x10355578]
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 0x1004e757
cmp eax, 6
jne 0x1004e6df
mov ecx, 0x10355598
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e290
sub ecx, edx
je 0x1004e6df
mov eax, dword [0x11093244]
test al, 1
jne 0x1004e2ba
or eax, 1
mov dword [0x11093244], eax
mov eax, dword [ebx + 0x34]
mov dword [0x11093240], eax
jmp 0x1004e2bf
mov eax, dword [0x11093240]
mov eax, dword [eax]
mov ecx, 0x1035ad68
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x4c]
push eax
call fcn.1004a450
mov dword [ebp - 4], 3
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [0x11093240]
cmovae 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 - 0x88], esi
call fcn.1002b860
test esi, esi
je 0x1004e656
mov esi, 0x10355598
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004e318
sub esi, ecx
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x1004e32b
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push esi
push 0x10355598
call fcn.10050520
add esp, 8
test al, al
jne 0x1004e656
push ecx
lea ecx, [ebp - 0x140]
call fcn.100442c0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
mov ecx, 0x1035b538
call fcn.1004f330
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.10049050
add esp, 0xc
push 0x10355598
push eax
call fcn.10050000
add esp, 8
mov edi, eax
cmp byte [0x1035b478], 0
je 0x1004e412
cmp byte [0x1035b479], 0
jne 0x1004e474
mov byte [0x1035b479], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1035b534]
xor ebx, dword [0x1035b530]
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
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, bl
xor cl, byte [esi + 0x1035b47a]
mov byte [esi + 0x1035b47a], cl
inc esi
cmp esi, 0xb1
jb 0x1004e3b6
jmp 0x1004e46e
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1035b534]
xor ebx, dword [0x1035b530]
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
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, bl
xor cl, byte [esi + 0x1035b47a]
mov byte [esi + 0x1035b47a], cl
inc esi
cmp esi, 0xb1
jb 0x1004e414
mov ebx, dword [ebp - 0x84]
push ecx
push 0x1035b52a
push 0x1035b47a
lea ecx, [ebp - 0x64]
call fcn.10047b20
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
push edi
call fcn.10049050
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.1002b860
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.1002b860
lea eax, [ebp - 0x64]
mov ecx, 0x1035ad98
push eax
call fcn.1004a370
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x140]
cmovae eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100441d0
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x1004e4fe
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x34]
mov ecx, 0x1035af68
push eax
call fcn.1004f160
mov byte [ebp - 4], 9
lea edi, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
push 0x28
cmovae edi, dword [ebp - 0x34]
call fcn.101f066d
mov edx, dword [0x103bb6e8]
add esp, 4
mov esi, eax
mov ecx, esi
push 0
push 0
push dword [ebp - 0x80]
call edx
mov edx, dword [0x104210c4]
mov ecx, esi
push 0
push 0
push 0
push 0
push dword [ebp - 0x84]
push edi
call edx
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
push esi
push edi
mov ecx, dword [eax + 0xc0]
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 [0x11093240], esi
call fcn.1002b860
lea ecx, [ebp - 0x7c]
call fcn.1002b860
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.1002b860
mov ecx, dword [ebp - 0x88]
push 0x10355598
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, 0x10355598
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e5c0
sub ecx, edx
push ecx
push 0x10355598
mov ecx, ebx
call fcn.10045fd0
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x140], 0x102b379c
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x13c]
call fcn.10043e20
mov eax, dword [ebp - 0x140]
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 - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x144], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], 0xa
push eax
mov dword [ebp - 0xf0], vtable.std::ios_base.0
call fcn.101ef669
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x11093240]
mov ecx, 0x1035add0
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x4c]
push eax
call fcn.100428f0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [0x11093240]
cmovae 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.1002b860
test esi, esi
je 0x1004e6d7
mov eax, dword [esi]
sub esp, 0xc
movss xmm0, dword [0x10355580]
mov ecx, esi
movss xmm1, dword [0x1035557c]
movss xmm2, dword [0x10355578]
mov eax, dword [eax + 0x2c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
push dword [0x11093240]
jmp 0x1004e758
mov eax, dword [edi]
mov ecx, 0x1035a728
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x4c]
push eax
call fcn.100428f0
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov ecx, edi
push 1
cmovae eax, dword [ebp - 0x4c]
push 0
push eax
call esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1002b860
test esi, esi
je 0x1004e757
mov eax, dword [esi]
sub esp, 0xc
movss xmm0, dword [0x10355580]
mov ecx, esi
movss xmm1, dword [0x1035557c]
movss xmm2, dword [0x10355578]
mov eax, dword [eax + 0x2c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call eax
push edi
push 0x10355578
lea ecx, [ebp - 0xa8]
call fcn.1004e790
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.101f065f
mov esp, ebp
pop ebp
ret