Function at 0x10026f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089820
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 + 0x10]
mov dword [0x100ad0d4], eax
test esi, esi
je 0x10027ae5
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x10026fda
cmp eax, 4
je 0x10026fda
cmp eax, 0x100
jne 0x10027ae5
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call fcn.1006ae00
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0xf
add esp, 0xc
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 4], 0
mov eax, 0x100a9df0
cmp dword [0x100a9e04], 0xf
mov dword [ebp - 0x11c], 0
cmova eax, dword [0x100a9df0]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x148], 0x72
mov al, 0x3d
xor al, byte [ebp - 0x148]
mov cl, 2
xor cl, byte [ebp - 0x148]
mov dh, 0x1c
mov byte [ebp - 0x147], al
mov ah, 0x1b
mov byte [ebp - 0x146], cl
mov dl, 6
mov cl, byte [ebp - 0x148]
mov ch, 0x1d
mov byte [ebp - 0x152], 0x5c
xor dl, cl
mov al, byte [ebp - 0x152]
xor ch, cl
xor al, cl
mov byte [ebp - 0x151], 0x3b
mov byte [ebp - 0x141], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x135], dh
mov byte [ebp - 0x140], al
xor dh, cl
mov al, byte [ebp - 0x135]
xor al, cl
mov byte [ebp - 0x136], ah
mov byte [ebp - 0x13f], al
xor ah, cl
mov al, byte [ebp - 0x136]
xor al, cl
mov byte [ebp - 0x144], ah
mov byte [ebp - 0x13e], al
lea eax, [ebp - 0x147]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x13d], 0
push eax
mov byte [ebp - 0x145], dl
mov byte [ebp - 0x143], ch
mov byte [ebp - 0x142], dh
mov byte [ebp - 0x13d], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi]
test eax, eax
je 0x10027287
cmp esi, eax
jne 0x10027287
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x100ad2bc], 1
setne dl
mov dword [0x100ad2bc], edx
mov byte [0x100ad007], dl
call fcn.1000f790
cmp dword [ebp - 0x158], 0xf
lea esi, [ebp - 0x16c]
mov byte [ebp - 0x148], 0x48
mov al, 0x1b
cmova esi, dword [ebp - 0x16c]
mov cl, 0x23
xor al, byte [ebp - 0x148]
mov ah, 0x24
xor cl, byte [ebp - 0x148]
mov ch, ah
mov byte [ebp - 0x147], al
mov dl, 0x21
mov byte [ebp - 0x146], cl
mov dh, 9
mov cl, byte [ebp - 0x148]
mov byte [ebp - 0x136], 0x3a
xor ch, cl
mov al, byte [ebp - 0x136]
xor dl, cl
xor al, cl
mov byte [ebp - 0x135], 0x2d
mov byte [ebp - 0x141], al
xor ah, cl
mov al, byte [ebp - 0x135]
xor dh, cl
xor al, cl
mov byte [ebp - 0x151], 0x29
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 0x18
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x145], dl
mov cl, 0x71
mov byte [ebp - 0x144], ah
mov dl, 0x6b
mov byte [ebp - 0x13f], al
mov ah, 0x7b
mov byte [ebp - 0x142], dh
mov al, 0x55
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x134], ch
xor al, ch
mov byte [ebp - 0x12f], 0
xor cl, ch
mov byte [ebp - 0x133], al
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x12f], 0
lea eax, [ebp - 0x147]
push esi
push eax
lea eax, [ebp - 0x133]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x10027aab
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027aa1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b04
jmp 0x10027aa1
mov eax, dword [edi + 4]
test eax, eax
je 0x10027381
cmp esi, eax
jne 0x10027381
mov esi, dword [0x100acf4c]
xor eax, eax
cmp dword [0x100ad2c0], 1
setne al
mov dword [0x100ad2c0], eax
test esi, esi
je 0x100272fb
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100272fb
test eax, eax
mov eax, dword [esi]
je 0x100272df
test eax, eax
je 0x100272fb
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100272fb
mov ecx, dword [esi]
push 1
call dword [0x1009dff8]
jmp 0x100272fb
test eax, eax
je 0x100272fb
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100272fb
mov ecx, dword [esi]
push eax
push eax
push eax
call dword [0x1009dffc]
mov edx, dword [0x100ad2c0]
lea ecx, [ebp - 0x16c]
call fcn.1000f790
cmp dword [ebp - 0x158], 0xf
lea esi, [ebp - 0x16c]
mov cl, 0x62
mov dword [ebp - 0x148], 0xc072562
cmova esi, dword [ebp - 0x16c]
xor eax, eax
mov dword [ebp - 0x144], 0xb34070b
mov dword [ebp - 0x140], 0xe000b11
mov word [ebp - 0x13c], 7
nop dword [eax + eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xc
jae 0x10027365
mov cl, byte [ebp - 0x148]
jmp 0x10027350
mov ch, 0x7c
mov byte [ebp - 0x13b], 0
mov byte [ebp - 0x134], ch
mov al, 0x31
mov cl, 0x15
mov dl, 0xf
mov ah, 0x1f
jmp 0x10027200
mov eax, dword [edi + 8]
test eax, eax
je 0x1002748c
cmp esi, eax
jne 0x1002748c
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x100ad2c8], 1
setne dl
mov dword [0x100ad2c8], edx
call fcn.1000f790
cmp dword [ebp - 0x158], 0xf
lea esi, [ebp - 0x16c]
mov cl, 0x61
mov byte [ebp - 0x148], 4
cmova esi, dword [ebp - 0x16c]
mov ch, cl
xor cl, byte [ebp - 0x148]
mov al, 0x56
xor al, byte [ebp - 0x148]
mov dl, 0x6a
mov byte [ebp - 0x147], al
mov ah, 0x60
mov byte [ebp - 0x146], cl
mov dh, 0x76
mov cl, byte [ebp - 0x148]
mov byte [ebp - 0x136], 0x47
xor dl, cl
mov al, byte [ebp - 0x136]
xor ah, cl
xor al, cl
mov byte [ebp - 0x135], 0x65
mov byte [ebp - 0x141], al
xor dh, cl
mov al, byte [ebp - 0x135]
xor al, cl
mov byte [ebp - 0x151], 0x74
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x152], ch
xor ch, cl
mov byte [ebp - 0x13f], al
mov al, byte [ebp - 0x152]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 0x75
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x145], dl
mov cl, 0x1c
mov byte [ebp - 0x144], ah
mov dl, 6
mov byte [ebp - 0x13e], al
mov ah, 0x16
mov byte [ebp - 0x142], dh
mov al, 0x38
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x134], ch
jmp 0x10027200
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1002756f
cmp esi, eax
jne 0x1002756f
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x100ad2cc], 1
setne dl
mov dword [0x100ad2cc], edx
call fcn.1000f790
cmp dword [ebp - 0x158], 0xf
lea esi, [ebp - 0x16c]
mov cl, 0x6d
mov dword [ebp - 0x14c], 0x30c3f6d
cmova esi, dword [ebp - 0x16c]
xor eax, eax
mov dword [ebp - 0x148], 0xa030406
mov dword [ebp - 0x144], 0x80b0b28
mov word [ebp - 0x140], 0x190e
mov byte [ebp - 0x13e], 0
xor byte [ebp + eax - 0x14b], cl
inc eax
cmp eax, 0xd
jae 0x10027517
mov cl, byte [ebp - 0x14c]
jmp 0x10027502
mov ch, 1
mov byte [ebp - 0x12f], 0
mov al, 0x4c
mov byte [ebp - 0x13e], 0
xor al, ch
mov byte [ebp - 0x134], ch
mov cl, 0x68
mov byte [ebp - 0x133], al
mov dl, 0x72
mov byte [ebp - 0x12f], 0
mov ah, 0x62
xor cl, ch
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
push esi
lea eax, [ebp - 0x14b]
jmp 0x1002723c
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100278f4
cmp esi, eax
jne 0x100278f4
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x100275e3
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100275e3
push 4
push eax
call esi
test eax, eax
jne 0x100275e3
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x100275e3
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x17
ja 0x10027aab
jmp 0x100275e5
xor esi, esi
cmp esi, dword [0x100ad2c4]
je 0x10027aab
mov dword [0x100ad2c4], esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1002761e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002761e
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1009dfc0]
xor ecx, ecx
push esi
cmp esi, 0xa
jge 0x10027878
movaps xmm0, xmmword [0x1009fd30]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x2b217f77
mov word [ebp - 0x13c], 0x2b
nop dword [eax + eax]
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x14
jb 0x10027650
sub esp, 0x18
mov byte [ebp - 0x13b], 0
mov edx, esp
lea ecx, [ebp - 0x14f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027692
sub ecx, dword [ebp - 0x134]
push ecx
lea eax, [ebp - 0x14f]
mov ecx, edx
push eax
call fcn.10005240
lea eax, [ebp - 0x16c]
push eax
call fcn.10004de0
add esp, 0x20
lea ecx, [ebp - 0x12c]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x10027703
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100276f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b04
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10027732
push 4
push eax
call edi
test eax, eax
jne 0x10027732
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x12c]
push eax
call dword [0x1009dfc8]
mov ecx, 0x10b8130
call fcn.100114e0
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1002777c
push 4
push eax
call edi
test eax, eax
jne 0x1002777c
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1002777c
push 4
push eax
call edi
test eax, eax
jne 0x1002777c
mov ecx, dword [ebp - 0x134]
push eax
push esi
push eax
push eax
push eax
call dword [0x1009e018]
mov edx, dword [0x100ad2c4]
lea ecx, [ebp - 0x16c]
call fcn.1000f790
cmp dword [ebp - 0x158], 0xf
lea esi, [ebp - 0x16c]
mov byte [ebp - 0x144], 0x5e
mov al, 0x19
cmova esi, dword [ebp - 0x16c]
mov cl, 0x3f
xor al, byte [ebp - 0x144]
mov dl, 0x33
xor cl, byte [ebp - 0x144]
mov ah, 0x3b
mov byte [ebp - 0x143], al
mov ch, 0xa
mov byte [ebp - 0x136], dl
mov dh, 0x37
mov al, byte [ebp - 0x136]
mov byte [ebp - 0x142], cl
mov cl, byte [ebp - 0x144]
xor al, cl
mov byte [ebp - 0x135], ah
mov byte [ebp - 0x13d], al
xor dl, cl
mov al, byte [ebp - 0x135]
xor ah, cl
xor al, cl
mov byte [ebp - 0x140], ah
xor ch, cl
mov byte [ebp - 0x13c], al
xor al, al
mov byte [ebp - 0x141], dl
xor dh, cl
mov byte [ebp - 0x12f], al
mov byte [ebp - 0x13f], ch
mov cl, 0x24
mov ch, 0x4d
mov byte [ebp - 0x13b], 0
xor al, ch
mov byte [ebp - 0x13e], dh
mov dl, 0x3e
mov byte [ebp - 0x133], al
mov ah, 0x2e
mov byte [ebp - 0x13b], 0
xor cl, ch
mov byte [ebp - 0x134], ch
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x12f], 0
lea eax, [ebp - 0x143]
push esi
jmp 0x1002723c
movaps xmm0, xmmword [0x1009ff50]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0xf0f055b
mov byte [ebp - 0x13c], 0
nop word [eax + eax]
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x13
jb 0x100278a0
sub esp, 0x18
mov byte [ebp - 0x13c], 0
mov edx, esp
lea ecx, [ebp - 0x14f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100278e2
sub ecx, dword [ebp - 0x134]
jmp 0x1002769f
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10027aab
cmp esi, eax
jne 0x10027aab
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x10027968
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10027968
push 4
push eax
call esi
test eax, eax
jne 0x10027968
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x10027968
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x14
ja 0x10027aab
jmp 0x1002796a
xor esi, esi
cmp esi, dword [0x100ad2d0]
je 0x10027aab
mov dword [0x100ad2d0], esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100279a3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100279a3
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1009dfc0]
mov eax, dword [edi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100279cc
push 4
push eax
call edi
test eax, eax
jne 0x100279cc
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1009dfcc]
movd xmm0, dword [0x100ad2d0]
mov ecx, 0x10b8150
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1009f3e8]
movss dword [ebp - 0x134], xmm0
movss dword [0x100a8a5c], xmm0
call fcn.100114e0
test eax, eax
je 0x10027a18
lea esi, [eax + 0x1ac]
push 4
push esi
call edi
test eax, eax
jne 0x10027a18
movss xmm0, dword [ebp - 0x134]
movss dword [esi], xmm0
mov edx, dword [0x100ad2d0]
lea ecx, [ebp - 0x16c]
call fcn.1000f790
cmp dword [ebp - 0x158], 0xf
lea esi, [ebp - 0x16c]
mov cl, 0x72
mov dword [ebp - 0x148], 0x1f133172
cmova esi, dword [ebp - 0x16c]
xor eax, eax
mov dword [ebp - 0x144], 0x20130017
mov dword [ebp - 0x140], 0x17151c13
mov byte [ebp - 0x13c], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xb
jae 0x10027a85
mov cl, byte [ebp - 0x148]
jmp 0x10027a70
mov ch, 0x47
mov byte [ebp - 0x13c], 0
mov byte [ebp - 0x134], ch
mov al, 0xa
mov cl, 0x2e
mov dl, 0x34
mov ah, 0x24
jmp 0x10027200
push ecx
push edx
call fcn.100675d1
add esp, 8
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x10027ae1
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027ad7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027b04
push ecx
push edx
call fcn.100675d1
add esp, 8
mov al, 1
jmp 0x10027ae7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067570
mov esp, ebp
pop ebp
ret 8
call fcn.1006cd3b
int3