Function at 0x585810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594758
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x28], 0x68
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x28], 0x65
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x28], 0x47
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x28], 0x6d
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x28], 0x6c
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x28], 0x72
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x28], 0x67
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x28], 0x65
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x28], 0x6f
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x28], 0x20
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x28], 0x6f
mov eax, 1
imul ecx, eax, 0xd
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0xe
jae 0x5858dc
jmp 0x5858e1
call fcn.0055fd97
mov edx, dword [ebp - 0x54]
mov byte [ebp + edx - 0x28], 0
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0x28], 0x43
mov edx, 1
imul eax, edx, 0xa
mov byte [ebp + eax - 0x28], 0x6f
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00419450
mov dword [ebp - 0x68], eax
call fcn.005a6160
add esp, 0x14
mov byte [ebp - 0x4a], al
mov cl, byte [ebp - 0x4a]
mov byte [ebp - 0x49], cl
mov edx, dword [ebp + 0x18]
mov dword [edx], 1
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x58597b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00419450
mov dword [ebp - 0x70], eax
call fcn.005a6160
add esp, 0x14
mov byte [ebp - 0x4b], al
mov cl, byte [ebp - 0x4b]
mov byte [ebp - 0x49], cl
mov edx, dword [ebp + 0x18]
mov dword [edx], 2
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x5859c3
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x5859c3
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00419450
mov dword [ebp - 0x78], eax
call fcn.005a6160
add esp, 0x14
mov byte [ebp - 0x4c], al
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x49], al
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 3
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x18], 0x6d
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x18], 0x68
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x18], 0x6f
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x18], 0x65
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x18], 0x72
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x18], 0x43
mov edx, 1
imul eax, edx, 6
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 7
jae 0x585a23
jmp 0x585a28
call fcn.0055fd97
mov ecx, dword [ebp - 0x58]
mov byte [ebp + ecx - 0x18], 0
movzx edx, byte [ebp - 0x49]
test edx, edx
jne 0x585a70
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00419450
mov dword [ebp - 0x80], eax
call fcn.005a6160
add esp, 0x14
mov byte [ebp - 0x4d], al
mov al, byte [ebp - 0x4d]
mov byte [ebp - 0x49], al
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 4
movzx edx, byte [ebp - 0x49]
test edx, edx
jne 0x585ab6
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00419450
mov dword [ebp - 0x88], eax
call fcn.005a6160
add esp, 0x14
mov byte [ebp - 0x4e], al
mov al, byte [ebp - 0x4e]
mov byte [ebp - 0x49], al
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 5
movzx edx, byte [ebp - 0x49]
test edx, edx
jne 0x585b04
movzx eax, byte [ebp + 8]
test eax, eax
je 0x585b04
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00419450
mov dword [ebp - 0x90], eax
call fcn.005a6160
add esp, 0x14
mov byte [ebp - 0x4f], al
mov cl, byte [ebp - 0x4f]
mov byte [ebp - 0x49], cl
mov edx, dword [ebp + 0x18]
mov dword [edx], 6
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x585b1f
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040ef60
add esp, 8
mov byte [ebp - 0x49], al
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x585bf2
mov ecx, dword [ebp + 0x14]
call fcn.00422470
test eax, eax
jne 0x585bb4
mov ecx, dword [ebp + 0x10]
call fcn.00422f60
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00586400
add esp, 8
mov dword [ebp - 4], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x2c], 0x25
mov ecx, 1
shl ecx, 1
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 3
jae 0x585b72
jmp 0x585b77
call fcn.0055fd97
mov edx, dword [ebp - 0x5c]
mov byte [ebp + edx - 0x2c], 0
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x2c], 0x73
lea ecx, [ebp - 0x48]
call fcn.004175d0
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.0041c930
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00415d90
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00422f60
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
test eax, eax
je 0x585be1
cmp dword [ebp - 0x30], 6
jne 0x585be1
mov dword [ebp - 0x60], 1
jmp 0x585be8
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x60]
mov byte [ecx], dl
jmp 0x585bfb
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret