Function at 0x100209d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100592fb
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x1006f014]
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 esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov dword [0x10075570], eax
test edi, edi
je 0x1002119d
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x10020a2b
cmp eax, 4
je 0x10020a2b
cmp eax, 0x100
jne 0x1002119d
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 4], 0
mov eax, 0x10075758
cmp dword [0x1007576c], 0x10
mov dword [ebp - 0x11c], 0
cmovae eax, dword [0x10075758]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x144], 0x6e
mov al, 0x21
xor al, byte [ebp - 0x144]
mov cl, 0x1e
xor cl, byte [ebp - 0x144]
xor ch, ch
mov byte [ebp - 0x143], al
mov bl, 7
mov byte [ebp - 0x14e], ch
mov ah, 1
mov al, byte [ebp - 0x14e]
mov dl, 0x1a
mov byte [ebp - 0x142], cl
mov dh, 0x40
mov cl, byte [ebp - 0x144]
mov bh, 0x27
xor al, cl
mov byte [ebp - 0x14d], bl
mov byte [ebp - 0x13b], al
xor ah, cl
mov al, byte [ebp - 0x14d]
xor dl, cl
xor al, cl
mov byte [ebp - 0x13f], ah
mov byte [ebp - 0x13a], al
xor bl, cl
lea eax, [ebp - 0x143]
mov byte [ebp - 0x141], dl
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x140], bl
xor ch, cl
mov byte [ebp - 0x139], 0
xor dh, cl
mov byte [ebp - 0x13e], ch
xor bh, cl
mov byte [ebp - 0x13d], dh
push eax
mov byte [ebp - 0x13c], bh
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esi]
test eax, eax
je 0x10020c06
cmp edi, eax
jne 0x10020c06
xor edx, edx
lea ecx, [ebp - 0x168]
cmp dword [0x1007578c], 1
setne dl
cmp edx, 1
mov dword [0x1007578c], edx
sete byte [0x1007147e]
call fcn.1000ef70
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10020b6f
mov esi, dword [esi]
mov byte [ebp - 0x144], 0x6d
mov al, 0x3e
xor al, byte [ebp - 0x144]
mov bl, 1
mov byte [ebp - 0x143], al
mov ah, bl
mov al, byte [ebp - 0x144]
mov cl, 6
xor cl, al
mov byte [ebp - 0x14d], 0xc
xor bl, al
mov byte [ebp - 0x13a], 0
xor ah, al
mov byte [ebp - 0x142], cl
mov dl, 4
mov byte [ebp - 0x140], bl
xor dl, al
mov byte [ebp - 0x13f], ah
mov ch, 0x2c
mov byte [ebp - 0x141], dl
xor ch, al
mov byte [ebp - 0x13a], 0
mov dh, 0x1f
mov byte [ebp - 0x13e], ch
xor dh, al
mov bh, 8
xor bh, al
mov byte [ebp - 0x13d], dh
mov al, byte [ebp - 0x14d]
mov ah, 0x38
xor al, byte [ebp - 0x144]
mov cl, 0x51
mov byte [ebp - 0x13b], al
mov dl, 0x4b
mov byte [ebp - 0x13c], bh
mov al, 0x75
mov bl, 0x5b
jmp 0x10021126
mov eax, dword [esi + 4]
test eax, eax
je 0x10020cdb
cmp edi, eax
jne 0x10020cdb
mov esi, dword [0x100713bc]
xor eax, eax
cmp dword [0x10075790], 1
setne al
mov dword [0x10075790], eax
test esi, esi
je 0x10020c68
mov esi, dword [esi + 0xc]
test esi, esi
je 0x10020c68
test eax, eax
je 0x10020c5e
mov eax, dword [esi]
test eax, eax
je 0x10020c68
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10020c68
mov ecx, dword [esi]
push 1
call dword [0x100655e8]
jmp 0x10020c68
sub esp, 0xc
mov ecx, esi
call fcn.1001c3b0
mov edx, dword [0x10075790]
lea ecx, [ebp - 0x168]
call fcn.1000ef70
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10020c83
mov esi, dword [esi]
mov cl, 0x42
mov dword [ebp - 0x144], 0x2c270542
mov dword [ebp - 0x140], 0x2b14272b
xor eax, eax
mov dword [ebp - 0x13c], 0x2e202b31
mov word [ebp - 0x138], 0x27
nop
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xc
jae 0x10020cc5
mov cl, byte [ebp - 0x144]
jmp 0x10020cb0
mov byte [ebp - 0x137], 0
mov ah, 0x4c
mov al, 1
mov cl, 0x25
mov dl, 0x3f
mov bl, 0x2f
jmp 0x10021126
mov eax, dword [esi + 8]
test eax, eax
je 0x10020dc0
cmp edi, eax
jne 0x10020dc0
xor edx, edx
lea ecx, [ebp - 0x168]
cmp dword [0x10075798], 1
setne dl
mov dword [0x10075798], edx
call fcn.1000ef70
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10020d15
mov esi, dword [esi]
mov cl, 0x70
mov byte [ebp - 0x144], 0x15
mov ah, cl
mov byte [ebp - 0x14d], 0x65
xor cl, byte [ebp - 0x144]
mov al, 0x47
xor al, byte [ebp - 0x144]
mov dl, 0x7b
mov byte [ebp - 0x143], al
mov bl, 0x71
mov al, byte [ebp - 0x14d]
mov ch, 0x67
mov byte [ebp - 0x142], cl
mov dh, 0x56
mov cl, byte [ebp - 0x144]
mov bh, 0x74
xor al, cl
mov byte [ebp - 0x14e], ah
mov byte [ebp - 0x13b], al
xor dl, cl
mov al, byte [ebp - 0x14e]
xor bl, cl
xor ah, cl
mov byte [ebp - 0x139], 0
xor ch, cl
mov byte [ebp - 0x141], dl
xor dh, cl
mov byte [ebp - 0x140], bl
xor bh, cl
mov byte [ebp - 0x13f], ah
xor al, cl
mov byte [ebp - 0x13e], ch
mov byte [ebp - 0x13a], al
mov ah, 0x37
mov byte [ebp - 0x13d], dh
mov al, 0x7a
mov byte [ebp - 0x13c], bh
mov cl, 0x5e
mov byte [ebp - 0x139], 0
mov dl, 0x44
mov bl, 0x54
jmp 0x10021126
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10020e7c
cmp edi, eax
jne 0x10020e7c
xor edx, edx
lea ecx, [ebp - 0x168]
cmp dword [0x1007579c], 1
setne dl
mov dword [0x1007579c], edx
call fcn.1000ef70
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10020dfa
mov esi, dword [esi]
mov cl, 0x1a
mov dword [ebp - 0x148], 0x747b481a
mov dword [ebp - 0x144], 0x7d747371
xor eax, eax
mov dword [ebp - 0x140], 0x7f7c7c5f
mov word [ebp - 0x13c], 0x6e79
mov byte [ebp - 0x13a], 0
nop dword [eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xd
jae 0x10020e45
mov cl, byte [ebp - 0x148]
jmp 0x10020e30
mov ah, 0x12
mov byte [ebp - 0x13a], 0
mov al, 0x5f
mov byte [ebp - 0x134], ah
xor al, ah
mov cl, 0x7b
mov dl, 0x61
mov byte [ebp - 0x133], al
xor cl, ah
xor dl, ah
mov bl, 0x71
xor bl, ah
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x147]
jmp 0x10021147
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10021049
cmp edi, ecx
jne 0x10021049
call fcn.10010d70
mov edi, eax
cmp edi, 0x17
ja 0x10021181
cmp edi, dword [0x10075794]
je 0x10021181
mov dword [0x10075794], edi
mov edx, edi
mov ecx, dword [esi + 0x14]
call fcn.10010d40
xor ecx, ecx
push edi
cmp edi, 0xa
jge 0x10020f0c
movaps xmm0, xmmword [0x100670c0]
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0x262c727a
mov word [ebp - 0x138], 0x26
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x14c]
xor byte [ebp + ecx - 0x14b], al
inc ecx
cmp ecx, 0x14
jb 0x10020ef0
mov byte [ebp - 0x137], 0
jmp 0x10020f4a
movaps xmm0, xmmword [str.z:e]
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0x4a4a401e
mov byte [ebp - 0x138], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x14c]
xor byte [ebp + ecx - 0x14b], al
inc ecx
cmp ecx, 0x13
jb 0x10020f30
mov byte [ebp - 0x138], 0
sub esp, 0x18
lea eax, [ebp - 0x14b]
mov ecx, esp
push eax
call fcn.100055b0
lea eax, [ebp - 0x168]
push eax
call fcn.10009da0
add esp, 0x20
lea ecx, [ebp - 0x12c]
push eax
call fcn.1000b250
lea ecx, [ebp - 0x168]
call fcn.10004f70
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x12c]
call fcn.10010e40
push ecx
push edi
call fcn.10021560
mov edx, dword [0x10075794]
lea ecx, [ebp - 0x168]
call fcn.1000ef70
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10020fb1
mov esi, dword [esi]
mov al, 0x2e
mov byte [ebp - 0x140], 0x69
xor al, byte [ebp - 0x140]
mov dl, 4
mov byte [ebp - 0x13f], al
mov bl, 0xc
mov al, byte [ebp - 0x140]
mov ah, 0x3d
xor ah, al
mov byte [ebp - 0x137], 0
mov dh, dl
mov byte [ebp - 0x13b], ah
xor dl, al
mov bh, bl
xor bl, al
mov byte [ebp - 0x13d], dl
xor dh, al
mov byte [ebp - 0x13c], bl
xor bh, al
mov byte [ebp - 0x139], dh
mov ah, 5
mov byte [ebp - 0x138], bh
mov cl, 8
mov byte [ebp - 0x134], ah
xor cl, al
xor ch, ch
xor ch, al
mov byte [ebp - 0x13e], cl
mov al, 0x48
mov byte [ebp - 0x13a], ch
xor al, ah
mov cl, 0x6c
mov dl, 0x76
mov byte [ebp - 0x133], al
xor cl, ah
xor dl, ah
mov bl, 0x66
xor bl, ah
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x13f]
jmp 0x10021147
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10021181
cmp edi, ecx
jne 0x10021181
call fcn.10010d70
mov edi, eax
cmp edi, 0x14
ja 0x10021181
cmp edi, dword [0x100757a0]
je 0x10021181
mov dword [0x100757a0], edi
mov edx, edi
mov ecx, dword [esi + 0x18]
call fcn.10010d40
mov ecx, dword [esi + 0x20]
mov edx, edi
call fcn.10010e70
movd xmm0, dword [0x100757a0]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1006678c]
movss dword [0x1006f058], xmm0
call fcn.10020270
mov edx, dword [0x100757a0]
lea ecx, [ebp - 0x168]
call fcn.1000ef70
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x100210cd
mov esi, dword [esi]
mov cl, 0x7c
mov dword [ebp - 0x144], 0x111d3f7c
mov dword [ebp - 0x140], 0x2e1d0e19
xor eax, eax
mov dword [ebp - 0x13c], 0x191b121d
mov byte [ebp - 0x138], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xb
jae 0x10021115
mov cl, byte [ebp - 0x144]
jmp 0x10021100
mov byte [ebp - 0x138], 0
mov ah, 0x25
mov al, 0x68
mov cl, 0x4c
mov dl, 0x56
mov bl, 0x46
xor al, ah
mov byte [ebp - 0x134], ah
xor cl, ah
mov byte [ebp - 0x133], al
xor dl, ah
xor bl, ah
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x143]
push esi
push eax
lea eax, [ebp - 0x133]
mov byte [ebp - 0x12f], 0
push eax
mov byte [ebp - 0x132], cl
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], bl
mov byte [ebp - 0x12f], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x168]
call fcn.10004f70
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x10021199
inc eax
push eax
push dword [ebp - 0x12c]
call fcn.10005380
mov al, 1
jmp 0x1002119f
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.10054720
mov esp, ebp
pop ebp
ret 8