Function at 0x59213f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x6aedd9
call fcn.00640244
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 0x5923ab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x15c]
test al, 2
jne 0x5923ab
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 0x59219a
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.00590674
test al, al
je 0x59239e
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 0x5921f1
lea eax, [ebp - 0x44]
push str.btapp:
push eax
call fcn.0047db9b
mov bl, al
call fcn.0048d06d
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.005918fe
push 0x31
pop eax
push 8
pop esi
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x48], esi
jae 0x592232
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x10], eax
test bl, bl
jne 0x59238f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00440897
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], esi
jb 0x592258
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.00483979
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x8c]
call fcn.004281f2
cmp byte [ebp + 8], bl
je 0x5922f6
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
jb 0x592297
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.0040f52f
cmp esi, 0x20
jg 0x592383
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x5922c0
lea eax, [ebp - 0x2c]
push eax
push 0x395
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004654e1
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 5
call fcn.0048d678
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.004281f2
jmp 0x592383
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x592301
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x74]
push str._Shttp:__localhost:_d
push eax
call fcn.004654bc
add esp, 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jae 0x592325
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 0x592379
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
jae 0x592342
lea eax, [ebp - 0x74]
push eax
push 0x396
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004654e1
add esp, 0xc
push eax
push 0x132
mov byte [ebp - 4], 7
call fcn.0048d678
push ebx
push edi
lea ecx, [ebp - 0x8c]
call fcn.004281f2
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.0040f52f
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004281f2
jmp 0x592394
xor edi, edi
xor ebx, ebx
inc edi
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.004281f2
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040f52f
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8