Function at 0x100365e0
Capabilities:
Encode data using xor

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 0x1014617e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
xor eax, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
push esi
mov esi, dword [0x101e66ac]
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
push edi
mov edi, ecx
mov esi, dword [eax + esi*4]
mov eax, dword [0x101ef2a4]
cmp eax, dword [esi + 4]
jg 0x10036835
push dword [0x101ef2c4]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x1017fe80]
test eax, eax
je 0x100367df
xorps xmm0, xmmword [0x1017fe50]
lea ecx, [ebp - 0x34]
push ecx
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x100367d8
mov eax, dword [ecx + 5]
mov eax, dword [eax + ecx + 0xf]
mov edi, dword [eax]
test edi, edi
je 0x100367a6
nop word [eax + eax]
mov edx, dword [edi + 4]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100366b0
sub eax, esi
lea ecx, [ebp - 0x3c]
push eax
push edx
call fcn.10003450
mov eax, dword [ebp - 0x20]
or dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x14], 0xf
mov esi, dword [eax + 0x10]
jbe 0x100366db
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov edx, esi
cmovb edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0xf
push esi
push dword [ebp - 0x1c]
cmova ecx, eax
mov dword [ebp - 0x24], eax
call fcn.100073b0
add esp, 8
test eax, eax
jne 0x10036717
mov eax, dword [edi + 4]
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jg 0x1003674b
mov edx, dword [edi + 4]
mov esi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10036720
mov eax, dword [ebp - 0x20]
sub esi, ecx
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x10036736
mov ecx, dword [eax]
push esi
push edx
mov edx, dword [eax + 0x10]
call fcn.100073b0
add esp, 8
mov byte [ebp - 0x11], 0
test eax, eax
jne 0x1003674f
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test al, 1
je 0x10036795
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10036795
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003678b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100367bb
push ecx
push edx
call fcn.1006ccbf
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x100367c1
mov edi, dword [edi + 8]
test edi, edi
jne 0x10036690
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [edi]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movaps xmm0, xmmword [0x1017fe80]
xorps xmm0, xmmword [0x1017fbc0]
mov eax, 0x10
mov dword [ebp - 0x49], 0xb1b7b5b2
mov dword [ebp - 0x45], 0xb0b0b5f4
mov dword [ebp - 0x41], 0xa7a7b1a6
mov byte [ebp - 0x3d], 0xd4
movups xmmword [ebp - 0x59], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x59], 0xd4
inc eax
cmp eax, 0x1d
jb 0x10036810
lea eax, [ebp - 0x59]
push eax
lea ecx, [ebp - 0x30]
call fcn.100051e0
push 0x10184908
lea eax, [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x101ef2a4
call fcn.1006d20f
add esp, 4
cmp dword [0x101ef2a4], 0xffffffff
jne 0x1003663e
push 0x101ef2a4
mov dword [0x101ef2c4], edi
call fcn.1006d1be
add esp, 4
jmp 0x1003663e