Function at 0x10015750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412d2
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x10050018]
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 edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
mov dword [0x1005207c], eax
test esi, esi
je 0x10015e3c
cmp dword [ebp + 0xc], 1
jne 0x10015e3c
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 4], 0
mov eax, 0x100522a0
cmp dword [0x100522b4], 0x10
mov dword [ebp - 0x138], 0
cmovae eax, dword [0x100522a0]
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 0x148], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x124], 2
mov al, 0x4d
xor al, byte [ebp - 0x124]
mov cl, 0x72
xor cl, byte [ebp - 0x124]
mov ch, 0x6c
mov byte [ebp - 0x123], al
mov bl, 0x6b
mov byte [ebp - 0x15d], ch
mov ah, 0x6d
mov al, byte [ebp - 0x15d]
mov dl, 0x76
mov byte [ebp - 0x122], cl
mov dh, 0x2c
mov cl, byte [ebp - 0x124]
mov bh, 0x4b
xor al, cl
mov byte [ebp - 0x15e], bl
mov byte [ebp - 0x11b], al
xor ah, cl
mov al, byte [ebp - 0x15e]
xor dl, cl
xor al, cl
mov byte [ebp - 0x11f], ah
mov byte [ebp - 0x11a], al
xor bl, cl
lea eax, [ebp - 0x123]
mov byte [ebp - 0x119], 0
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 0x121], dl
xor ch, cl
mov byte [ebp - 0x120], bl
xor dh, cl
mov byte [ebp - 0x11e], ch
xor bh, cl
mov byte [ebp - 0x11d], dh
push eax
mov byte [ebp - 0x11c], bh
mov byte [ebp - 0x119], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi]
test eax, eax
je 0x100158bd
cmp esi, eax
jne 0x100158bd
mov ecx, edi
call fcn.100160e0
mov al, 1
jmp 0x10015e3e
mov eax, dword [edi + 4]
test eax, eax
je 0x10015b76
cmp esi, eax
jne 0x10015b76
cmp dword [0x100522f0], 1
jne 0x10015e38
mov ecx, dword [edi + 0x18]
mov byte [0x10051ff3], 1
call fcn.1000da00
push eax
lea ecx, [ebp - 0x130]
call fcn.10007db0
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x120], esi
jbe 0x1001593f
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
nop dword [eax]
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
movsx eax, byte [eax + esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x10015a6d
inc esi
cmp esi, dword [ebp - 0x120]
jb 0x10015910
mov ecx, dword [edi + 0x18]
call fcn.1000da00
cmp dword [eax + 0x14], 0x10
jb 0x1001594f
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [edi + 0x1c], eax
cmp eax, 0x64
jle 0x10015a5b
movaps xmm0, xmmword [0x10049c30]
xor ecx, ecx
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0x6d70
mov byte [ebp - 0x14a], 0
nop word [eax + eax]
mov al, byte [ebp - 0x15c]
xor byte [ebp + ecx - 0x15b], al
inc ecx
cmp ecx, 0x11
jb 0x10015990
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14a], 0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10003b10
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x10049b10]
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x164], 0x636c27
movaps xmm0, xmmword [0x100496c0]
movups xmmword [ebp - 0x174], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x184]
xor byte [ebp + ecx - 0x183], al
inc ecx
cmp ecx, 0x22
jb 0x100159f0
lea eax, [ebp - 0x183]
mov byte [ebp - 0x161], 0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10003b10
push 0
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1a0]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x1004907c]
lea ecx, [ebp - 0x1b8]
call fcn.10003a50
lea ecx, [ebp - 0x1a0]
call fcn.10003a50
lea ecx, [ebp - 0x130]
call fcn.10003a50
mov al, 1
jmp 0x10015e3e
movaps xmm0, xmmword [0x10049a80]
xor ecx, ecx
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0x5e43
mov byte [ebp - 0x14a], 0
nop dword [eax]
mov al, byte [ebp - 0x15c]
xor byte [ebp + ecx - 0x15b], al
inc ecx
cmp ecx, 0x11
jb 0x10015a90
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14a], 0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10003b10
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x10049510]
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x168], 0x484f4058
movaps xmm0, xmmword [0x10049950]
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0xc035f
mov al, byte [ebp - 0x188]
xor byte [ebp + ecx - 0x187], al
inc ecx
cmp ecx, 0x26
jb 0x10015af2
lea eax, [ebp - 0x187]
mov byte [ebp - 0x161], 0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10003b10
push 0
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a0]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x1004907c]
lea ecx, [ebp - 0x1b8]
call fcn.10003a50
lea ecx, [ebp - 0x1a0]
call fcn.10003a50
lea ecx, [ebp - 0x130]
mov dword [edi + 0x1c], 0
call fcn.10003a50
mov al, 1
jmp 0x10015e3e
mov eax, dword [edi + 8]
test eax, eax
je 0x10015b85
cmp esi, eax
je 0x10015e38
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10015c49
cmp esi, eax
jne 0x10015c49
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100522f0], 1
setne dl
mov dword [0x100522f0], edx
call fcn.1000bed0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10015bbf
mov esi, dword [esi]
mov ah, 0x1e
mov byte [ebp - 0x11b], 0
mov al, 0x5f
mov byte [ebp - 0x120], ah
mov cl, 0x6b
mov byte [ebp - 0x11b], 0
xor cl, ah
mov dword [ebp - 0x158], 0x30f3666
mov dl, 0x6a
mov byte [ebp - 0x11e], cl
mov bl, 0x71
mov dword [ebp - 0x154], 0x1e230305
xor al, ah
mov dword [ebp - 0x150], 0x8070e05
xor dl, ah
mov byte [ebp - 0x11f], al
xor bl, ah
mov byte [ebp - 0x11d], dl
mov byte [ebp - 0x11c], bl
mov cl, 0x66
mov word [ebp - 0x14c], 0x301
xor eax, eax
mov byte [ebp - 0x14a], 0
nop
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10015e0a
mov cl, byte [ebp - 0x158]
jmp 0x10015c30
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10015d4b
cmp esi, eax
jne 0x10015d4b
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100522f4], 1
setne dl
mov dword [0x100522f4], edx
call fcn.1000bed0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10015c83
mov esi, dword [esi]
mov al, 0x1e
mov byte [ebp - 0x124], 0x4d
xor al, byte [ebp - 0x124]
mov dh, 0x23
mov byte [ebp - 0x123], al
mov ah, 0x26
mov al, byte [ebp - 0x124]
mov cl, 0x39
mov bh, dh
mov byte [ebp - 0x11b], 0
xor cl, al
mov byte [ebp - 0x11b], 0
mov dl, 0x22
mov byte [ebp - 0x122], cl
mov bl, 0x2e
mov dword [ebp - 0x158], 0x60a3363
mov ch, 4
mov dword [ebp - 0x154], 0x1b260600
xor ah, al
mov dword [ebp - 0x150], 0xd020b00
xor dl, al
mov byte [ebp - 0x11f], ah
xor bl, al
mov byte [ebp - 0x121], dl
xor ch, al
mov byte [ebp - 0x120], bl
xor dh, al
mov byte [ebp - 0x11e], ch
xor bh, al
mov byte [ebp - 0x11d], dh
mov byte [ebp - 0x11c], bh
mov cl, 0x63
mov word [ebp - 0x14c], 0x604
xor eax, eax
mov byte [ebp - 0x14a], 0
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10015d39
mov cl, byte [ebp - 0x158]
jmp 0x10015d24
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x123]
jmp 0x10015e17
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10015e38
cmp esi, eax
jne 0x10015e38
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100522f8], 1
setne dl
mov dword [0x100522f8], edx
call fcn.1000bed0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10015d85
mov esi, dword [esi]
mov ah, 0x34
mov byte [ebp - 0x11b], 0
mov dl, 0x58
mov byte [ebp - 0x120], ah
mov al, 0x67
mov byte [ebp - 0x11b], 0
mov cl, 0x51
mov dword [ebp - 0x158], 0x70b3262
mov bl, dl
mov dword [ebp - 0x154], 0x1a270701
xor cl, ah
mov dword [ebp - 0x150], 0xc030a01
xor al, ah
mov byte [ebp - 0x11e], cl
xor dl, ah
mov byte [ebp - 0x11f], al
xor bl, ah
mov byte [ebp - 0x11d], dl
mov byte [ebp - 0x11c], bl
mov cl, 0x62
mov word [ebp - 0x14c], 0x705
xor eax, eax
mov byte [ebp - 0x14a], 0
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10015e0a
mov cl, byte [ebp - 0x158]
jmp 0x10015df5
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11f]
push esi
push eax
lea eax, [ebp - 0x157]
mov byte [ebp - 0x14a], 0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1a0]
call fcn.10003a50
mov al, 1
jmp 0x10015e3e
xor al, al
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.1003eb30
mov esp, ebp
pop ebp
ret 8