Function at 0x10001b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsCharAlphaA]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x61
mov dword [ebp - 0x14], edx
mov esi, ecx
call ebx
push 0x14
call fcn.10085dc2
add esp, 4
mov edi, eax
push 0x61
mov dword [ebp - 0x28], edi
call ebx
sub esp, 0xc
lea ecx, [ebp - 0xf8]
push esi
call fcn.10002d30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xec]
test al, 6
jne 0x10001e88
shr eax, 2
test al, 1
jne 0x10001e88
lea ecx, [ebp + ecx - 0xf8]
push 0
push dword [ecx + 0xc]
mov dword [ecx + 0x10], 7
call fcn.100017b0
push 0x61
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
push 0x61
call ebx
push 2
push 0xffffffffffffffff
push 0xfffffffffffffff0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.100026f0
lea ecx, [ebp - 0xf8]
call fcn.100019c0
cmp eax, 0x21ce7d15
jne 0x10001dfe
cmp edx, 0x15ee2a3
jne 0x10001dfe
lea ecx, [ebp - 0xf8]
call fcn.100019c0
push 0
push 8
mov ebx, edx
mov esi, eax
push ebx
push esi
call fcn.1008a570
mov ecx, eax
or ecx, edx
je 0x10001c5d
mov ecx, 8
sub ecx, eax
mov eax, 0
sbb eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x10001c68
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, 0xffffffe8
sub eax, esi
sub eax, ecx
cdq
push 2
push edx
push eax
lea ecx, [ebp - 0xf8]
call fcn.100026f0
lea ecx, [ebp - 0xf8]
call fcn.100019c0
cmp eax, 0xc3c9f371
jne 0x10001d6b
cmp edx, 0x4f0
jne 0x10001d6b
lea ecx, [ebp - 0xf8]
call fcn.10001a50
push eax
mov dword [ebp - 0x2c], eax
call fcn.10081a4a
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
cdq
mov ecx, eax
add esp, 4
mov eax, edx
push eax
push ecx
push dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x1c], eax
call fcn.100025d0
mov ecx, 0xfffffffc
sub ecx, dword [ebp - 0x30]
mov eax, 0xffffffff
sbb eax, dword [ebp - 0x1c]
add esi, ecx
adc ebx, eax
js 0x10001d29
jg 0x10001cfb
cmp esi, 0x10000
jbe 0x10001d29
test edi, edi
je 0x10001d08
push edi
call fcn.10085c14
add esp, 4
lea ecx, [ebp - 0xf8]
call fcn.10001a90
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0xf8]
call fcn.100025d0
xor ecx, ecx
test ebx, ebx
jl 0x10001da0
jg 0x10001d45
test esi, esi
je 0x10001da0
mov eax, ecx
cdq
idiv dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
inc ecx
mov al, byte [edx + edi]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
xor byte [ecx + edx - 1], al
mov eax, ecx
cdq
cmp edx, ebx
jl 0x10001d45
jg 0x10001da0
cmp eax, esi
jb 0x10001d45
jmp 0x10001da0
cmp eax, 0x70827739
jne 0x10001dd0
cmp edx, 0x11f
jne 0x10001dd0
test ebx, ebx
jl 0x10001d90
jg 0x10001cfb
cmp esi, 0x10000
ja 0x10001cfb
push ebx
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0xf8]
call fcn.100025d0
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test edi, edi
je 0x10001db2
push edi
call fcn.10085c14
add esp, 4
lea ecx, [ebp - 0xf8]
call fcn.10001a90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x10001ddd
push edi
call fcn.10085c14
add esp, 4
lea ecx, [ebp - 0xf8]
call fcn.10001a90
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x10001e0b
push edi
call fcn.10085c14
add esp, 4
lea ecx, [ebp - 0xf8]
call fcn.10001a90
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x100ba9f4
call fcn.10045550
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1008548a
push 0x100d1db8
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], vtable.std::runtime_error.0
call fcn.1008b1fb
int3