Function at 0x1005b8cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1008bae4
call fcn.1008957c
sub esp, 0x80
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x1005bb5f
cmp ebx, 0xffffffff
je 0x1005bb5f
mov ecx, ebx
call fcn.1005c9a9
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 5
jb 0x1005bb5f
push 0x200
push ebx
mov ecx, edi
call fcn.1005d074
push esi
mov edi, eax
push ebx
push edi
call fcn.1005d043
add edi, eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.1005adb0
mov byte [ebp - 0x21], 0x7a
xor ebx, ebx
mov byte [ebp - 0x20], 0x7f
mov byte [ebp - 0x1f], 0x7d
mov byte [ebp - 0x1e], 0x72
lea esi, [edi + eax]
mov byte [ebp - 0x1d], 0x2a
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x7d
mov byte [ebp - 0x1a], 0x7a
mov byte [ebp - 0x19], bl
mov al, byte [ebp - 0x21]
mov eax, ebx
sub byte [ebp + eax - 0x21], 0xa
inc eax
cmp eax, 8
jb 0x1005b95d
lea eax, [ebp - 0x21]
push eax
push esi
call fcn.1005ca90
pop ecx
pop ecx
add esi, eax
push esi
push dword [ebp + 0xc]
call fcn.1005ad55
mov byte [ebp - 0x40], 0x78
add esi, eax
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x77
mov byte [ebp - 0x3d], 0x78
mov byte [ebp - 0x3c], 0x24
mov byte [ebp - 0x3b], 0x69
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x7c
mov byte [ebp - 0x38], 0x30
mov byte [ebp - 0x37], 0x24
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x7c
mov byte [ebp - 0x33], 0x3f
mov byte [ebp - 0x32], 0x6e
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x24
mov byte [ebp - 0x2f], 0x34
mov byte [ebp - 0x2e], 0x7c
mov byte [ebp - 0x2d], 0x29
mov byte [ebp - 0x2c], 0x7c
mov byte [ebp - 0x2b], bl
mov al, byte [ebp - 0x40]
mov eax, ebx
sub byte [ebp + eax - 0x40], 4
inc eax
cmp eax, 0x15
jb 0x1005b9dd
lea eax, [esi + 0x3e]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.1005ca90
add esp, 0xc
add esi, eax
mov ecx, esi
call fcn.1005b2d7
mov ecx, dword [ebp + 0x10]
add esi, eax
test ecx, ecx
je 0x1005ba56
mov byte [ebp - 0x2a], 0x7b
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x7d
mov byte [ebp - 0x27], 0x29
mov byte [ebp - 0x26], 0x39
mov byte [ebp - 0x25], 0x81
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x81
mov byte [ebp - 0x22], bl
mov al, byte [ebp - 0x2a]
sub byte [ebp + ebx - 0x2a], 9
inc ebx
cmp ebx, 8
jb 0x1005ba31
mov eax, ecx
shl eax, 2
push eax
lea eax, [ebp - 0x2a]
push eax
push esi
call fcn.1005ca90
add esp, 0xc
mov edi, eax
jmp 0x1005bb20
mov byte [ebp + 0xc], 0x74
mov byte [ebp + 0xd], 0x67
mov byte [ebp + 0xe], 0x76
mov byte [ebp + 0xf], bl
mov al, byte [ebp + 0xc]
mov eax, ebx
sub byte [ebp + eax + 0xc], 2
inc eax
cmp eax, 3
jb 0x1005ba6a
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000afd4
mov dword [ebp - 4], ebx
mov byte [ebp + 0xc], 0x6f
mov byte [ebp + 0xd], 0x70
mov byte [ebp + 0xe], 0x71
mov byte [ebp + 0xf], bl
mov al, byte [ebp + 0xc]
mov eax, ebx
dec byte [ebp + eax + 0xc]
inc eax
cmp eax, 3
jb 0x1005ba9b
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000afd4
mov byte [ebp - 4], 1
mov byte [ebp + 0xc], 0x75
mov byte [ebp + 0xd], 0x76
mov byte [ebp + 0xe], 0x77
mov byte [ebp + 0xf], bl
mov al, byte [ebp + 0xc]
sub byte [ebp + ebx + 0xc], 7
inc ebx
cmp ebx, 3
jb 0x1005bac7
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000afd4
sub esp, 0xc
mov dword [ebp - 4], 2
mov ecx, esp
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x8c]
push ecx
push eax
push edx
call fcn.1005c0ba
mov ecx, esi
call fcn.1005cb48
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x8c]
push 0x10005806
push 3
push 0x18
push eax
call fcn.10079e17
add esi, edi
mov ecx, esi
call fcn.1005b2d7
mov ebx, dword [ebp - 0x14]
push ebx
lea edi, [esi + eax]
mov esi, dword [ebp + 8]
push esi
push edi
call fcn.1005acb3
add edi, eax
lea eax, [ebx + esi]
push edi
push eax
call fcn.1005acfe
push esi
push dword [ebp - 0x18]
call fcn.1005acfe
sub ebx, eax
mov edx, ebx
lea ecx, [eax + esi]
call fcn.1005c97a
mov al, 1
jmp 0x1005bb61
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10