Function at 0x100027a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x520
mov esi, esp
mov dword [esi + 0x508], ebp
mov dword [esi + 0x50c], esp
mov dword [esi + 0x518], 0xffffffff
mov dword [esi + 0x514], 0x10002f00
lea edi, [esi + 0x300]
lea eax, [esi + 0x510]
mov ecx, dword fs:[0]
mov dword [esi + 0x510], ecx
mov dword fs:[0], eax
push 0x208
push 0
push edi
call fcn.10027060
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10002d85
mov dword [esi + 0x30], edi
lea ebx, [esi + 0x30]
lea edi, [esi + 0x198]
push ebx
push edi
call fcn.10003de0
add esp, 8
mov eax, dword [esi + 0x198]
cmp eax, 0x80000000
mov dword [esi], eax
je 0x10002d8a
mov eax, dword [esi + 0x1a0]
mov ecx, dword [esi + 0x19c]
mov dword [esi + 0x198], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1a8], 7
mov dword [esi + 0x1b2], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b6], 0
mov byte [esi + 0x1b4], 1
mov dword [esi + 0x518], 0
push eax
mov dword [esi + 0x20], ecx
push ecx
push edi
push ebx
call fcn.1000da00
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x100028cf
push 1
push eax
push dword [esi + 0x20]
call fcn.10002720
add esp, 0xc
cmp byte [esi + 0x30], 4
lea edx, [esi + 0x30]
jne 0x10002da4
mov eax, dword [esi + 0x34]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x518], 2
lea ecx, [esi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push eax
push ecx
push edx
call fcn.1000d950
add esp, 0xc
cmp byte [esi + 0x30], 4
jne 0x10002ddd
lea eax, [esi + 0x100]
push 0x91
push 0
push eax
call fcn.10027060
add esp, 0xc
xorps xmm0, xmm0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf0], 0
mov ebx, dword [esi + 0x18]
mov edx, 0x90
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x80], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xe0], xmm0
mov dword [esi + 0xf8], 0x18
movzx eax, byte [esi + 0x190]
mov ecx, ebx
movzx edi, al
sub edx, edi
sub ecx, edx
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x14]
jae 0x100029d5
lea eax, [esi + 0x100]
add eax, edi
push ebx
push ecx
push eax
call fcn.100271c0
add esp, 0xc
add ebx, edi
lea edi, [esi + 0x30]
jmp 0x10002bae
test al, al
mov dword [esi + 4], ecx
je 0x10002aae
lea eax, [esi + 0x100]
add edi, eax
push edx
push ecx
push edi
mov dword [esi], edx
call fcn.100271c0
add esp, 0xc
movaps xmm0, xmmword [esi + 0x30]
movaps xmm1, xmmword [esi + 0x40]
xorps xmm0, xmmword [esi + 0x100]
movaps xmmword [esi + 0x30], xmm0
xorps xmm1, xmmword [esi + 0x110]
movaps xmmword [esi + 0x40], xmm1
movaps xmm0, xmmword [esi + 0x50]
xorps xmm0, xmmword [esi + 0x120]
movaps xmmword [esi + 0x50], xmm0
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [esi + 0x130]
movaps xmmword [esi + 0x60], xmm0
movaps xmm0, xmmword [esi + 0x70]
xorps xmm0, xmmword [esi + 0x140]
movaps xmmword [esi + 0x70], xmm0
movaps xmm0, xmmword [esi + 0x80]
xorps xmm0, xmmword [esi + 0x150]
movaps xmmword [esi + 0x80], xmm0
movaps xmm0, xmmword [esi + 0x90]
xorps xmm0, xmmword [esi + 0x160]
movaps xmmword [esi + 0x90], xmm0
movaps xmm0, xmmword [esi + 0xa0]
xorps xmm0, xmmword [esi + 0x170]
movaps xmmword [esi + 0xa0], xmm0
movaps xmm0, xmmword [esi + 0xb0]
xorps xmm0, xmmword [esi + 0x180]
movaps xmmword [esi + 0xb0], xmm0
push dword [esi + 0xf8]
lea eax, [esi + 0x30]
push eax
call fcn.10003940
add esp, 8
mov eax, dword [esi]
mov ebx, dword [esi + 8]
add dword [esi + 4], eax
mov ecx, 0x38e38e39
mov eax, ebx
lea edi, [esi + 0x30]
mov dword [esi + 8], ebx
mul ecx
shr edx, 5
cmp ebx, 0x90
mov dword [esi + 0x1c], edx
jb 0x10002b8a
mov eax, dword [esi + 0x1c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
shl ecx, 4
add ecx, eax
mov dword [esi + 0x20], ecx
movups xmm0, xmmword [eax]
mov dword [esi], eax
xorps xmm0, xmmword [esi + 0x30]
movaps xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [eax + 0x10]
xorps xmm0, xmmword [esi + 0x40]
movaps xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [eax + 0x20]
xorps xmm0, xmmword [esi + 0x50]
movaps xmmword [esi + 0x50], xmm0
movups xmm0, xmmword [eax + 0x30]
xorps xmm0, xmmword [esi + 0x60]
movaps xmmword [esi + 0x60], xmm0
movups xmm0, xmmword [eax + 0x40]
xorps xmm0, xmmword [esi + 0x70]
movaps xmmword [esi + 0x70], xmm0
movups xmm0, xmmword [eax + 0x50]
xorps xmm0, xmmword [esi + 0x80]
movaps xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [eax + 0x60]
xorps xmm0, xmmword [esi + 0x90]
movaps xmmword [esi + 0x90], xmm0
movups xmm0, xmmword [eax + 0x70]
xorps xmm0, xmmword [esi + 0xa0]
movaps xmmword [esi + 0xa0], xmm0
movups xmm0, xmmword [eax + 0x80]
xorps xmm0, xmmword [esi + 0xb0]
movaps xmmword [esi + 0xb0], xmm0
push dword [esi + 0xf8]
push edi
call fcn.10003940
add esp, 8
mov eax, dword [esi]
lea edi, [esi + 0x30]
add eax, 0x90
cmp eax, dword [esi + 0x20]
jne 0x10002ae0
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 4]
shl eax, 4
lea eax, [eax + eax*8]
sub ebx, eax
add ecx, eax
push ebx
push ecx
lea eax, [esi + 0x100]
push eax
call fcn.100271c0
add esp, 0xc
mov byte [esi + 0x190], bl
push 0x168
push edi
lea ebx, [esi + 0x198]
push ebx
call fcn.100271c0
add esp, 0xc
movzx edi, byte [esi + 0x2f8]
mov ecx, 0x90
sub ecx, edi
lea eax, [esi + edi + 0x268]
push ecx
push 0
push eax
call fcn.10027060
add esp, 0xc
mov byte [esi + 0x2f8], 0
mov byte [esi + edi + 0x268], 6
or byte [esi + 0x2f7], 0x80
movups xmm0, xmmword [esi + 0x268]
movups xmm1, xmmword [esi + 0x198]
xorps xmm1, xmm0
movups xmm0, xmmword [esi + 0x1a8]
movups xmmword [esi + 0x198], xmm1
movups xmm1, xmmword [esi + 0x278]
xorps xmm1, xmm0
movups xmmword [esi + 0x1a8], xmm1
movups xmm0, xmmword [esi + 0x288]
movups xmm1, xmmword [esi + 0x1b8]
xorps xmm1, xmm0
movups xmmword [esi + 0x1b8], xmm1
movups xmm0, xmmword [esi + 0x298]
movups xmm1, xmmword [esi + 0x1c8]
xorps xmm1, xmm0
movups xmmword [esi + 0x1c8], xmm1
movups xmm0, xmmword [esi + 0x2a8]
movups xmm1, xmmword [esi + 0x1d8]
xorps xmm1, xmm0
movups xmmword [esi + 0x1d8], xmm1
movups xmm0, xmmword [esi + 0x2b8]
movups xmm1, xmmword [esi + 0x1e8]
xorps xmm1, xmm0
movups xmmword [esi + 0x1e8], xmm1
movups xmm0, xmmword [esi + 0x1f8]
movups xmm1, xmmword [esi + 0x2c8]
xorps xmm1, xmm0
movups xmmword [esi + 0x1f8], xmm1
movups xmm0, xmmword [esi + 0x208]
movups xmm1, xmmword [esi + 0x2d8]
xorps xmm1, xmm0
movups xmmword [esi + 0x208], xmm1
movups xmm0, xmmword [esi + 0x218]
movups xmm1, xmmword [esi + 0x2e8]
xorps xmm1, xmm0
movups xmmword [esi + 0x218], xmm1
push dword [esi + 0x260]
push ebx
call fcn.10003940
add esp, 8
movups xmm0, xmmword [esi + 0x198]
mov eax, dword [esi + 0x1ac]
mov edi, dword [esi + 0x1a8]
mov ebx, dword [esi + 0x1b0]
movaps xmmword [esi + 0x20], xmm0
mov dword [esi], eax
movzx eax, byte [0x100651b9]
push 1
push 0x1c
call fcn.10002710
add esp, 8
test eax, eax
je 0x10002e16
movaps xmm0, xmmword [esi + 0x20]
mov ecx, dword [esi]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], edi
mov edi, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebx
mov dword [edi], 0x1c
mov dword [edi + 4], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 8], 0x1c
test eax, eax
je 0x10002d5b
push 1
push eax
push dword [esi + 0x14]
call fcn.10002720
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esi + 0x518], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x510]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.1002ac90
lea eax, [esi + 0x10]
push 0x1002d380
push 0x1002d320
push eax
push 0x2b
push 0x1002d2e4
call fcn.1002bba0
movsd xmm0, qword [esi + 0x30]
mov dword [esi + 0x518], 1
movsd qword [esi + 0x198], xmm0
push 0x1002d390
push 0x1002d310
lea eax, [esi + 0x198]
push eax
push 0x2b
push 0x1002d2e4
call fcn.1002bba0
add esp, 0x14
jmp 0x10002e22
movsd xmm0, qword [esi + 0x30]
mov dword [esi + 0x518], 3
movsd qword [esi + 0x198], xmm0
push 0x1002d3a0
push 0x1002d310
lea eax, [esi + 0x198]
push eax
push 0x2b
push 0x1002d2e4
call fcn.1002bba0
add esp, 0x14
jmp 0x10002e22
push 0x1c
push 1
call fcn.1002b710
add esp, 8
ud2