Function at 0x585722
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6081e5
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x6b9a04]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
lea esi, [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
call fcn.0051e087
xor ebx, ebx
lea esi, [esp + 0x28]
mov dword [esp + 0x1a0], ebx
call fcn.0051e087
push str.SoftwareClientsStartMenuInternet
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1a4], 1
call fcn.0040518c
mov byte [esp + 0x1a0], 2
cmp dword [esp + 0x130], 0x10
mov eax, dword [esp + 0x11c]
jae 0x5857c3
lea eax, [esp + 0x11c]
push 0x20019
push eax
push edi
lea esi, [esp + 0x4c]
call fcn.0051e0ea
cmp eax, ebx
je 0x585b8a
push 0x6414f8
lea ecx, [esp + 0x100]
call fcn.0040518c
mov byte [esp + 0x1a0], 3
mov dword [esp + 0x14], ebx
jmp 0x585b62
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
lea esi, [esp + 0x28]
call fcn.0051e3fe
mov byte [esp + 0x1a0], 4
push dword [eax]
lea ecx, [esp + 0x100]
call fcn.0040556d
mov byte [esp + 0x1a0], 3
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00405172
cmp dword [esp + 0x110], ebx
je 0x585b7b
push ebx
lea ecx, [esp + 0x138]
mov dword [esp + 0x150], 0xf
call fcn.004055a6
lea ecx, [esp + 0x150]
call fcn.0040560d
lea ecx, [esp + 0x16c]
call fcn.0040560d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ac], 5
call fcn.0040529a
mov edi, 0x6411f0
push edi
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00404922
add esp, 0xc
lea ecx, [esp + 0xfc]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x1ac], 6
call fcn.00404969
add esp, 0xc
push str.Capabilities
push eax
lea eax, [esp + 0xe8]
push eax
mov byte [esp + 0x1ac], 7
call fcn.00404922
add esp, 0xc
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.004055c2
push ebx
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1a8], 0xa
call fcn.004055c2
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x585924
lea eax, [esp + 0xe4]
push 0x20019
push eax
push dword [esp + 0x20]
lea esi, [esp + 0x34]
call fcn.0051e0ea
cmp eax, ebx
je 0x58597c
push 0x104
push str.ApplicationName
lea eax, [esp + 0x3c]
push eax
mov eax, esi
push eax
call fcn.0051e2f9
mov byte [esp + 0x1a0], 0xb
push dword [eax]
lea ecx, [esp + 0x154]
call fcn.0040556d
mov byte [esp + 0x1a0], 0xa
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00405172
cmp dword [esp + 0x164], ebx
jne 0x58599c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x15c]
call fcn.0040529a
push edi
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00404922
add esp, 0xc
lea ecx, [esp + 0xfc]
push ecx
push eax
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x1ac], 0xc
call fcn.00404969
add esp, 0xc
push str._shellopencommand
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x1ac], 0xd
call fcn.00404922
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x1ac], 0xe
call fcn.0040529a
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x94]
call fcn.004055c2
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.004055c2
push ebx
push edi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1a8], 0xa
call fcn.004055c2
cmp dword [esp + 0xf8], 0x10
mov eax, dword [esp + 0xe4]
jae 0x585a59
lea eax, [esp + 0xe4]
push 0x20019
push eax
push dword [esp + 0x20]
lea esi, [esp + 0x34]
call fcn.0051e0ea
cmp eax, ebx
je 0x585b3c
push 0x104
push 0x641040
lea eax, [esp + 0x2c]
push eax
mov eax, esi
push eax
call fcn.0051e2f9
mov byte [esp + 0x1a0], 0xf
push dword [eax]
lea ecx, [esp + 0x170]
call fcn.0040556d
mov byte [esp + 0x1a0], 0xa
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.00405172
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x50]
push eax
push esi
call fcn.00585e3c
mov eax, dword [esi + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
lea edi, [esp + 0x38]
lea esi, [esp + 0x4c]
mov dword [esp + 0x38], eax
call fcn.00584150
test al, al
jne 0x585aef
push ebx
push 1
jmp 0x585b3e
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x20]
call fcn.00585d25
push 0xffffffffffffffff
mov esi, eax
push ebx
lea eax, [esp + 0x13c]
push eax
mov ecx, esi
call fcn.0040529a
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x158]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040529a
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x174]
push eax
lea ecx, [esi + 0x38]
call fcn.0040529a
jmp 0x585aea
push ebx
push edi
lea ecx, [esp + 0xe8]
call fcn.004055c2
lea esi, [esp + 0x134]
mov byte [esp + 0x1a0], 3
call fcn.0057ef9c
inc dword [esp + 0x14]
push 0x641040
lea ecx, [esp + 0x100]
call fcn.00404ae8
test eax, eax
jne 0x5857fd
push ebx
push 1
lea ecx, [esp + 0x104]
call fcn.004055c2
push ebx
push 1
lea ecx, [esp + 0x120]
call fcn.004055c2
lea ecx, [esp + 0x28]
call fcn.0051e0bd
lea ecx, [esp + 0x40]
call fcn.0051e0bd
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.005c30b2
mov esp, ebp
pop ebp
ret