Function at 0x1004f8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7108
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e41c4]
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 ebx, edx
mov esi, ecx
movzx edx, byte [esi + 0xb0]
movzx ecx, byte [esi + 0xac]
mov edi, dword [0x101ef034]
call fcn.1004f130
mov dword [ebp - 0x18], 0x7a626577
mov word [ebp - 0x14], 0x6e65
mov byte [ebp - 0x12], 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [edi + 0x38]
push eax
mov eax, 0x512dc0
call eax
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
cmp byte [0x101eee23], 0
mov eax, dword [0x101ef168]
movss xmm0, dword [eax + 0x110]
divss xmm0, dword [0x100d688c]
mulss xmm0, dword [0x100d6878]
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
mov al, byte [0x8793383]
mov byte [ebp - 0x29], al
mov byte [0x8793383], 1
je 0x1004f9bf
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0xacd30cc1
push eax
mov word [ebp - 0x34], bx
mov dword [ebp - 0x30], 0x4b18967f
call fcn.1004f7b0
mov ecx, dword [0x101ef034]
lea eax, [ecx + 0x308]
push eax
movsx eax, bx
push eax
push ecx
call dword [0x101ef124]
add esp, 0xc
cmp byte [0x101e70c9], 0
je 0x1004fab1
movzx eax, byte [esi + 0xac]
mov byte [edi + 0xac], al
movzx eax, byte [esi + 0xb0]
mov byte [edi + 0xb0], al
movzx edx, byte [esi + 0xb0]
movzx ecx, byte [esi + 0xac]
call fcn.10050ac0
mov edx, 0x1d
xor ecx, ecx
mov al, byte [ecx + str.PkwN]
xor al, dl
mov byte [ebp + ecx - 0x28], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1004fa00
lea eax, [ebp - 0x28]
mov byte [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov byte [ebp - 0x1c], 0
sete al
movq qword [ebp - 0x28], xmm0
test al, al
je 0x1004faa3
push 0xd4
push 0xc1
mov ecx, 0x101eef3c
mov eax, 0x404b90
call eax
movzx eax, byte [esi + 0xac]
mov ecx, 0x101eef3c
push eax
mov edi, 0x4050d0
call edi
movzx eax, byte [esi + 0xb0]
mov ecx, 0x101eef3c
push eax
call edi
push 0
push 0
mov ecx, 0x101eef3c
call fcn.10062780
push 0x32
push 0
push 0x101eef3c
call fcn.10090bb0
add esp, 0xc
mov byte [0x101e73e7], 1
jmp 0x1004fab6
mov edi, 0x4050d0
mov byte [0x101e73e7], 1
jmp 0x1004fab6
mov edi, 0x4050d0
push dword [0x102320d0]
mov ecx, 0x101eef3c
mov eax, 0x404b90
push 0xc1
call eax
movzx eax, bx
mov ecx, 0x101eef3c
shr eax, 8
push eax
call edi
movzx eax, bl
mov ecx, 0x101eef3c
push eax
mov ebx, 0x4050d0
call ebx
movzx eax, byte [esi + 0xac]
mov ecx, 0x101eef3c
push eax
call ebx
movzx eax, byte [esi + 0xb0]
mov ecx, 0x101eef3c
push eax
call ebx
mov edi, dword [ebp - 0x18]
mov ecx, 0x101eef3c
push edi
call ebx
push 0xffffffffffffffff
mov ecx, 0x101eef3c
call ebx
push edi
mov ecx, 0x101eef3c
call ebx
movsx eax, byte [esi + 0x7f]
mov ecx, 0x101eef3c
push eax
call ebx
movsx eax, word [esi + 0x7e]
mov ecx, 0x101eef3c
movzx eax, al
push eax
call ebx
push 0
push 1
mov ecx, 0x101eef3c
call fcn.10062780
push 0x32
push 0
push 0x101eef3c
call fcn.10090bb0
mov al, byte [ebp - 0x29]
add esp, 0xc
mov byte [0x8793383], 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.1008d9f1
mov esp, ebp
pop ebp
ret