Function at 0x100052b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
dec eax
push ebx
push esi
push edi
jne 0x10005453
mov eax, 4
xor esi, esi
mov ebx, 0xff
lea ecx, [ecx]
mov cl, byte [esi + str.HjgcD_hym]
xor cl, al
inc eax
mov byte [esp + esi + 0xc], cl
inc esi
and eax, ebx
cmp esi, 0xc
jb 0x100052e0
mov ecx, 0x5ab6d584
lea eax, [esp + 0x1c]
mov byte [esp + 0x18], 0
call fcn.100055a0
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
push eax
push 0xa
push 0x10121f70
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x34], ax
mov byte [esp + 0x36], al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [0x10121e8c], esi
call fcn.10010890
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10010d70
push 0x100051f0
push 0x10121e8c
call fcn.10010340
call fcn.10010900
mov eax, dword [ebp + 8]
mov dword [0x10121ea0], eax
call fcn.1000c4a0
call fcn.1000c5c0
mov esi, 0x1b
lea edi, [esp + 0x48]
mov dword [esp + 0x48], 0xffffffa1
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], 0xffff8b32
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0x78ffffff
mov dword [esp + 0x5c], 0x8bffff89
mov word [esp + 0x60], 0x8ff
mov byte [esp + 0x62], 0x51
call fcn.1000ea30
test eax, eax
je 0x100054b8
mov ecx, dword [eax + 1]
mov esi, 0x21
lea edi, [esp + 0x48]
mov dword [0x10121f50], ecx
mov dword [esp + 0x48], 0xffffffa1
mov dword [esp + 0x4c], 0xffff89ff
mov dword [esp + 0x50], 0x83ffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffff02ff
mov dword [esp + 0x5c], 0xffffff83
mov dword [esp + 0x60], 0x7404ffff
mov dword [esp + 0x64], 0x6affebff
mov byte [esp + 0x68], 0
call fcn.1000ea30
mov dword [0x10121f54], eax
test eax, eax
je 0x1000546c
mov edx, dword [eax + 1]
mov dword [0x10121f54], edx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10011784
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xba
xor esi, esi
mov cl, byte [esi + 0x100179c8]
xor cl, al
inc eax
mov byte [esp + esi + 0x28], cl
inc esi
and eax, ebx
cmp esi, 0xf
jb 0x10005473
lea edx, [esp + 0x28]
push edx
push 0
mov ecx, 0x1011c678
mov byte [esp + 0x3f], 0
call fcn.10005cd0
xor eax, eax
add esp, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.1000e190
mov eax, 0x82
xor esi, esi
nop
mov cl, byte [esi + 0x100179d8]
xor cl, al
inc eax
mov byte [esp + esi + 0x38], cl
inc esi
and eax, ebx
cmp esi, 0xf
jb 0x100054c0
lea edx, [esp + 0x38]
push edx
push 0
mov ecx, 0x1011c678
mov byte [esp + 0x4f], 0
call fcn.10005cd0
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.1000e190
int3