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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0xc], ecx
je 0x10599bb
cmp eax, 2
je 0x1059a3a
jmp 0x1059b63
mov esi, ecx
push 0xbbf966b4
push dword [0xefa7e8]
call fcn.0105f180
add esp, 8
test eax, eax
je 0x10599fe
mov ecx, dword [esi]
test ecx, ecx
je 0x1059a2e
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x1059a0a
cmp dword [esp + 0x10], 0
je 0x1059a0a
mov dword [esi + 4], 3
jmp 0x1059a2e
mov dword [esi + 4], 1
jmp 0x1059b63
lea eax, [esp + 0x50]
push eax
call fcn.0105f910
add esp, 4
test al, al
je 0x1059a2e
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x1059a2b
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x1059b63
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0x2a47157a
mov dword [esp + 0x14], 0x492b2b59
mov dword [esp + 0x18], 0x22222f59
mov dword [esp + 0x1c], 0x564f295d
mov dword [esp + 0x20], 0x3e382a2d
mov byte [esp + 0x24], 0xa4
mov dword [esp + 0x25], 0
mov dword [esp + 0x28], 0
mov eax, 0x8118a75e
nop
movzx ecx, byte [esp + eax + 0x7ee758b2]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x2a
mov byte [esp + eax + 0x7ee758b2], cl
inc eax
cmp eax, 0x8118a77a
jne 0x1059a80
lea esi, [esp + 0x10]
lea eax, [esp + 0x80]
push esi
push eax
call fcn.0105e260
add esp, 8
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x50]
push 6
push eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0105e330
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
jmp 0x1059cf0
mov dword [esp + 0x50], 0xd1cecfd0
mov word [esp + 0x54], 0
mov byte [esp + 0x56], 0
mov ecx, 0x42431b3
mov esi, 0xfbdbce4c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + esi + 0x4243204]
mov dword [esp + 4], ebx
lea eax, [ecx - 1]
mov dword [esp + 8], eax
and eax, ebx
not ebx
lea edx, [esi + 1]
mov dword [esp + 0x4c], edx
mov edi, edx
and edi, ebx
or edi, eax
not edi
and edi, edx
mov edx, edi
and edx, 2
mov eax, edi
or edi, 2
imul edi, edx
xor edx, 2
and eax, 0xfbdbce5d
imul eax, edx
add edi, eax
add ecx, edi
and ecx, ebx
mov eax, esi
sub eax, edi
and eax, dword [esp + 4]
sub eax, ecx
add al, 0x7f
mov byte [esp + esi + 0x4243204], al
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 8]
mov ecx, eax
cmp eax, 0x42431ac
jne 0x1059b90
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x80b0a0d
mov word [esp + 0x14], 0
mov eax, 0x9971d82
mov esi, 0x7668e27d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [eax - 0x97fffff]
mov edx, edi
or edx, 0xff8b4529
lea ecx, [esi + edx]
mov ebx, eax
sub ebx, edx
and ebx, 0x934be76
mov edx, ecx
and edx, 0x36080009
or edx, ebx
and edi, 0x141886
xor edx, edi
and edi, ecx
movzx ecx, byte [esp + eax - 0x9971d72]
xor edx, 0x4934fe76
or edi, edx
xor edi, ecx
xor edi, 0xff8b4529
lea edx, [edi + 0x500c6c70]
mov ecx, edi
and ecx, 1
add ecx, edi
add ecx, 0x500c6c70
mov edi, edx
xor edx, 1
add ecx, edx
and edi, 0xfe
sub ecx, edi
mov byte [esp + eax - 0x9971d72], cl
inc eax
dec esi
cmp eax, 0x9971d88
jne 0x1059c30
mov eax, dword [esp + 0x10]
mov ecx, dword [0xefa7f4]
test ecx, ecx
je 0x1059cce
xor edx, edx
mov esi, dword [0xefa7f8]
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x1059cfa
inc edx
cmp ecx, edx
jne 0x1059cc0
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x1059cce
lea eax, [esp + 0x10]
push 0
push dword [esp + 8]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x1c]
push 0x18
push edx
push dword [0xefa7fc]
call fcn.0105c1a0
add esp, 0x24
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x1059cce