Function at 0x1005d785
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], 0xf848
mov eax, dword [ebp - 0x3c]
xor eax, 0x6b
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
inc eax
xor eax, 0x65
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x3c]
add eax, 2
xor eax, 0x72
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x3c]
add eax, 3
xor eax, 0x6e
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x3c]
add eax, 4
xor eax, 0x65
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x3c]
add eax, 5
xor eax, 0x6c
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x3c]
add eax, 6
xor eax, 0x62
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x3c]
add eax, 7
xor eax, 0x61
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x3c]
add eax, 8
xor eax, 0x73
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x3c]
add eax, 9
xor eax, 0x65
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x3c]
add eax, 0xa
xor eax, 0x2e
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x3c]
add eax, 0xb
xor eax, 0x64
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x3c]
add eax, 0xc
xor eax, 0x6c
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x3c]
add eax, 0xd
xor eax, 0x6c
mov word [ebp - 0x1e], ax
xor eax, eax
mov word [ebp - 0x1c], ax
xor edx, edx
mov ax, word [ebp - 0x38]
mov ax, word [ebp + edx*2 - 0x38]
mov ecx, dword [ebp - 0x3c]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x38], cx
inc edx
cmp edx, 0xe
jb 0x1005d859
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x1005d997
mov dword [ebp - 0x18], 0x39
mov ecx, dword [ebp - 0x18]
xor ecx, 0x49
mov byte [ebp - 0x14], cl
mov ecx, dword [ebp - 0x18]
inc cl
xor ecx, 0x73
mov byte [ebp - 0x13], cl
mov eax, dword [ebp - 0x18]
add al, 2
xor eax, 0x57
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
add al, 3
xor eax, 0x6f
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
add al, 4
xor eax, 0x77
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x18]
add al, 5
xor eax, 0x36
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x18]
add al, 6
xor eax, 0x34
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x18]
add al, 7
xor eax, 0x50
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x18]
add al, 8
xor eax, 0x72
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
add al, 9
xor eax, 0x6f
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x18]
add al, 0xa
xor eax, 0x63
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x18]
add al, 0xb
xor eax, 0x65
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x18]
add al, 0xc
xor eax, 0x73
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x18]
add al, 0xd
xor eax, 0x73
mov byte [ebp - 7], al
mov eax, dword [ebp - 0x18]
add al, 0xe
mov byte [ebp - 5], 0
xor eax, 0x32
xor edx, edx
mov byte [ebp - 6], al
mov al, byte [ebp - 0x14]
mov al, byte [ebp + edx - 0x14]
mov ecx, dword [ebp - 0x18]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x14], cl
inc edx
cmp edx, 0xf
jb 0x1005d941
lea eax, [ebp - 0x14]
mov byte [ebp - 5], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005d997
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1005d997
mov eax, 0x1c0
cmp word [ebp - 0x40], ax
je 0x1005d992
mov eax, 0xaa64
cmp word [ebp - 0x40], ax
jne 0x1005d997
xor eax, eax
inc eax
jmp 0x1005d999
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100e04a9
leave
ret