Function at 0x10008fb0
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 0x10024365
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [str.o_e_n]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x10009000
mov byte [ebp - 0x28], 0x13
mov al, 0x7d
xor al, byte [ebp - 0x28]
mov cl, 0x67
xor cl, byte [ebp - 0x28]
mov dl, 0x77
mov byte [ebp - 0x27], al
mov ah, 0x7f
mov byte [ebp - 0x19], dl
mov ch, ah
mov al, byte [ebp - 0x19]
mov dh, 0x3d
mov byte [ebp - 0x26], cl
mov cl, byte [ebp - 0x28]
xor al, cl
mov byte [ebp - 0x1a], ah
mov byte [ebp - 0x21], al
xor dl, cl
mov al, byte [ebp - 0x1a]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x20], al
xor ah, cl
mov al, byte [ebp - 0x1b]
xor dh, cl
xor al, cl
mov byte [ebp - 0x24], ah
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1e], 0
push eax
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x23], ch
mov byte [ebp - 0x22], dh
mov byte [ebp - 0x1e], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x3b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
call fcn.10007f60
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000920c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
call edi
test eax, eax
jns 0x10009160
movaps xmm0, xmmword [0x1002cf80]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x44b
mov byte [ebp - 0x2e], 0
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x100090d0
xorps xmm0, xmm0
mov byte [ebp - 0x2e], 0
lea ecx, [ebp - 0x3f]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009100
sub ecx, edx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002460
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.100085e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10009160
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009156
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000922a
push ecx
push edx
call fcn.1000af7a
add esp, 8
cmp dword [ebp - 0x18], 0
jbe 0x10009205
movaps xmm0, xmmword [0x1002d010]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x7170717b
mov word [ebp - 0x2c], 0x34
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x14
jb 0x10009184
xorps xmm0, xmm0
mov byte [ebp - 0x2b], 0
lea ecx, [ebp - 0x3f]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100091b0
sub ecx, edx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002460
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.100085e0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10009205
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100091fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000922a
push ecx
push edx
call fcn.1000af7a
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000af19
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000fdef
int3