Function at 0x59c6e2
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6bec08
call fcn.00651da4
sub esp, 0x78
inc dword [0x7c24e4]
lea eax, [ebp + 0x50]
push ebx
push esi
push eax
call fcn.0059d084
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x60], ebx
je 0x59c928
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x59c71e
lea eax, [ebp + 0x50]
push str.http:__
push eax
call fcn.0047ad8d
test al, al
jne 0x59c74c
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x59c739
lea eax, [ebp + 0x50]
push str.https:__
push eax
call fcn.0047ad8d
test al, al
je 0x59c928
lea eax, [ebp + 0x30]
push eax
call fcn.00479d9b
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.00428f60
push ebx
push 1
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 3
call fcn.004284eb
mov eax, dword [ebp - 0x14]
dec eax
cmp eax, 0x3ff
jb 0x59c787
xor esi, esi
jmp 0x59c91b
mov esi, 0x6d201c
push esi
call fcn.004287c6
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp + 0x50]
call fcn.00436c38
cmp eax, 0xffffffff
jne 0x59c7b4
push esi
call fcn.004287c6
pop ecx
push eax
push esi
lea ecx, [ebp + 0x50]
call fcn.004285c7
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
call fcn.0046f9af
cmp dword [ebp + 0x14], 0x10
mov eax, dword [ebp]
mov byte [ebp - 4], 4
jae 0x59c7d1
lea eax, [ebp]
push eax
lea eax, [ebp + 0x18]
push 0x7219fc
push eax
call fcn.00462014
add esp, 0xc
cmp dword [ebp + 0x2c], 8
push 0x73
pop eax
mov word [ebp + 0x48], ax
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 5
jae 0x59c7fa
lea eax, [ebp + 0x18]
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x50]
jae 0x59c809
lea eax, [ebp + 0x50]
push 1
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004801c2
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0043b829
cmp dword [eax + 0x14], 0x10
jb 0x59c838
mov eax, dword [eax]
push 1
push ebx
push ebx
push eax
push ebx
push dword [ebp + 0x74]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
push 1
lea ecx, [ebp + 0x30]
mov esi, eax
call fcn.0040facf
cmp esi, 0x20
mov esi, str.success
setg bl
test bl, bl
jne 0x59c868
mov esi, str.failure
push 0x756a0c
lea ecx, [ebp + 0x30]
call fcn.0040f49f
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.0040f49f
push str.search
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.0040f49f
push 0x721a0c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.0040f49f
fld dword [0x6e7c44]
lea eax, [ebp + 0x30]
push ecx
fstp dword [esp]
xor esi, esi
mov byte [ebp - 4], 0xa
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.00536471
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040facf
push esi
push 1
lea ecx, [ebp - 0x54]
call fcn.0040facf
push esi
push 1
lea ecx, [ebp - 0x6c]
call fcn.0040facf
push esi
push 1
lea ecx, [ebp + 0x30]
call fcn.0040facf
push esi
push 1
lea ecx, [ebp - 0x84]
call fcn.004284eb
push esi
push 1
lea ecx, [ebp + 0x18]
call fcn.004284eb
push esi
push 1
lea ecx, [ebp]
call fcn.0040facf
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.004284eb
jmp 0x59c92a
xor esi, esi
push esi
push 1
lea ecx, [ebp + 0x50]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc