Function at 0x58dcc6
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x6a5ad3
call fcn.006375a8
sub esp, 0x80
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test al, al
je 0x58df32
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x15c]
test al, 2
jne 0x58df32
mov ecx, dword [esi + 0xcc]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
call dword [eax + 0x74]
test eax, eax
jne 0x58dd21
mov ecx, dword [esi + 0xcc]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esi + 0xd8]
xor ebx, ebx
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
imul eax, edi, 0x9c
mov dword [ebp - 4], ebx
add eax, dword [ecx + 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.0058c204
test al, al
je 0x58df25
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], ax
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
jae 0x58dd78
lea eax, [ebp - 0x44]
push str.btapp:
push eax
call fcn.0047ab57
mov bl, al
call fcn.00489fe0
push 0
push 0
lea ecx, [ebp - 0x5c]
movzx eax, word [eax + 4]
push ecx
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
push eax
push edi
push esi
call fcn.0058d48e
push 0x31
pop eax
push 8
pop esi
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x48], esi
jae 0x58ddb9
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x10], eax
test bl, bl
jne 0x58df16
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0043ee34
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], esi
jb 0x58dddf
mov eax, dword [eax]
xor edi, edi
lea ecx, [ebp - 0x14]
inc edi
push edi
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0048099c
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x8c]
call fcn.004267c2
cmp byte [ebp + 8], bl
je 0x58de7d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0043edf3
cmp dword [eax + 0x14], 0x10
jb 0x58de1e
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
push ebx
push edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0040daff
cmp esi, 0x20
jg 0x58df0a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x58de47
lea eax, [ebp - 0x2c]
push eax
push 0x389
call fcn.00588778
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004638e7
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 5
call fcn.0048a5eb
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.004267c2
jmp 0x58df0a
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x58de88
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x74]
push str._Shttp:__localhost:_d
push eax
call fcn.004638c2
add esp, 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jae 0x58deac
lea eax, [ebp - 0x2c]
push edi
push ebx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x58df00
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
jae 0x58dec9
lea eax, [ebp - 0x74]
push eax
push 0x38a
call fcn.00588778
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004638e7
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 7
call fcn.0048a5eb
push ebx
push edi
lea ecx, [ebp - 0x8c]
call fcn.004267c2
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.0040daff
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004267c2
jmp 0x58df1b
xor edi, edi
xor ebx, ebx
inc edi
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.004267c2
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040daff
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8