Function at 0x1005d4e1
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x101a06df
call fcn.1017516e
push 0x76
pop eax
mov word [ebp - 0x48], ax
push 0x7c
pop eax
mov word [ebp - 0x46], ax
push 0x6c
pop eax
mov word [ebp - 0x44], ax
push 0x74
pop ecx
mov word [ebp - 0x42], cx
mov word [ebp - 0x40], cx
push 0x36
pop edx
mov word [ebp - 0x3e], dx
mov word [ebp - 0x3c], ax
xor eax, eax
mov word [ebp - 0x3a], cx
xor ebx, ebx
mov word [ebp - 0x38], cx
mov ecx, ebx
mov word [ebp - 0x36], ax
mov ax, word [ebp - 0x48]
mov ax, word [ebp + ecx*2 - 0x48]
movzx eax, ax
add eax, 0xfffffff8
mov word [ebp + ecx*2 - 0x48], ax
inc ecx
cmp ecx, 9
jb 0x1005d52e
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x1005d55b
xor eax, eax
jmp 0x1005d77f
mov dword [ebp - 0x28], 0x43
mov edx, ebx
mov byte [ebp - 0x24], 0x34
mov byte [ebp - 0x23], 0x2a
mov byte [ebp - 0x22], 0x2d
mov byte [ebp - 0x21], 0x26
mov byte [ebp - 0x20], 0x1c
mov byte [ebp - 0x1f], 0x24
mov byte [ebp - 0x1e], 0x26
mov byte [ebp - 0x1d], 0x37
mov byte [ebp - 0x1c], 0x1c
mov byte [ebp - 0x1b], 0x21
mov byte [ebp - 0x1a], 0x36
mov byte [ebp - 0x19], 0x2a
mov byte [ebp - 0x18], 0x2f
mov byte [ebp - 0x17], 0x27
mov byte [ebp - 0x16], 0x1c
mov byte [ebp - 0x15], 0x2a
mov byte [ebp - 0x14], 0x27
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x13], bl
mov al, byte [ebp + edx - 0x24]
movsx ecx, byte [ebp - 0x28]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x24], al
inc edx
cmp edx, 0x11
jb 0x1005d5ae
lea eax, [ebp - 0x24]
mov byte [ebp - 0x13], bl
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005d554
call eax
test eax, eax
je 0x1005d554
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
mov edx, eax
push 0x10205684
lea ecx, [ebp - 0x58]
call fcn.1002ad35
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
sub eax, ebx
pop ecx
push 0x18
cdq
pop esi
idiv esi
cmp eax, 2
jb 0x1005d736
mov dword [ebp - 0x34], 0x58
xor edx, edx
mov byte [ebp - 0x30], 0x2f
mov byte [ebp - 0x2f], 0x31
mov byte [ebp - 0x2e], 0x36
mov byte [ebp - 0x2d], 0x3d
mov al, byte [ebp - 0x30]
mov byte [ebp - 0x2c], 0
mov al, byte [ebp + edx - 0x30]
movsx ecx, byte [ebp - 0x34]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x30], al
inc edx
cmp edx, 4
jb 0x1005d638
mov ebx, dword [ebp - 0x58]
lea edx, [ebp - 0x30]
mov ecx, ebx
mov byte [ebp - 0x2c], 0
call fcn.1002af1f
test al, al
je 0x1005d736
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
lea edx, [ebx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x1005d682
mov edx, dword [edx]
push 0x102050b8
lea ecx, [ebp - 0x64]
call fcn.1002ad35
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
sub eax, edi
cdq
idiv esi
pop ecx
mov dword [ebp - 0x4c], eax
cmp eax, 1
jae 0x1005d6a7
xor esi, esi
jmp 0x1005d6e9
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1005d6b1
mov eax, dword [edi]
push eax
call fcn.100eacb2
pop ecx
mov esi, eax
push 0xf
pop eax
cmp esi, eax
cmova esi, eax
xor eax, eax
cmp dword [ebp - 0x4c], 2
jb 0x1005d6e4
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 0x10
jb 0x1005d6d5
mov eax, dword [eax]
push eax
call fcn.100eacb2
pop ecx
push 0xf
pop ecx
cmp eax, ecx
cmova eax, ecx
shl esi, 4
or esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 0
test edi, edi
je 0x1005d738
cmp edi, dword [ebp - 0x60]
je 0x1005d712
push 0x18
mov ebx, edi
pop esi
mov ecx, ebx
call fcn.10017221
add ebx, esi
cmp ebx, dword [ebp - 0x60]
jne 0x1005d6fe
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
sub eax, edi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push edi
call fcn.10006a60
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
jmp 0x1005d738
xor esi, esi
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1005d77d
mov edi, ebx
cmp edi, dword [ebp - 0x54]
je 0x1005d75b
push 0x18
pop ebx
mov ecx, edi
call fcn.10017221
add edi, ebx
cmp edi, dword [ebp - 0x54]
jne 0x1005d74a
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
sub eax, ebx
push 0x18
pop ecx
cdq
idiv ecx
imul ecx, eax, 0x18
push ecx
push ebx
call fcn.10006a60
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov eax, esi
call fcn.10175118
ret