Function at 0x4ba27a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x539b90
call fcn.004ea774
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x4ba4e4
cmp dword [ebp + 0xc], ebx
je 0x4ba4e4
cmp dword [ebp + 0x10], ebx
je 0x4ba4e4
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], eax
call fcn.00505c61
push dword [ebp + 0x10]
lea ecx, [esi + 0x6c]
call fcn.00505c61
cmp dword [esi + 0x80], ebx
jne 0x4ba2f5
push 0x44
call fcn.00505819
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4ba2e9
call fcn.004b2190
jmp 0x4ba2eb
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x80], eax
mov ecx, dword [esi + 0x80]
push edi
call fcn.00505c11
mov ecx, dword [esi + 0x80]
lea eax, [edi + 4]
push eax
add ecx, 4
call fcn.00505c11
mov eax, dword [esi + 0x80]
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x80]
lea eax, [edi + 0x18]
add ecx, 0x18
push eax
call fcn.00505c11
mov ecx, dword [esi + 0x80]
lea eax, [edi + 0x1c]
push eax
add ecx, 0x1c
call fcn.00505c11
mov eax, dword [esi + 0x80]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0x80]
add ecx, 0x18
call fcn.00505ffa
mov edi, dword [esi + 0x74]
cmp edi, ebx
je 0x4ba375
mov ecx, edi
call fcn.0043fa5b
push edi
call fcn.00505842
pop ecx
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0x80]
push 0x5834ac
add eax, 0x18
mov eax, dword [eax]
push eax
call fcn.004eaf05
pop ecx
test eax, eax
pop ecx
je 0x4ba42a
mov eax, dword [esi + 0x80]
push str.CERT
add eax, 0x18
mov eax, dword [eax]
push eax
call fcn.004eaf05
pop ecx
test eax, eax
pop ecx
je 0x4ba42a
mov edi, dword [ebp + 0x18]
cmp edi, ebx
je 0x4ba5bc
push 0x14
call fcn.00505819
cmp eax, ebx
pop ecx
je 0x4ba3ea
mov ecx, dword [0x58c61c]
mov dword [eax], ecx
mov ecx, dword [0x58c61c]
mov dword [eax + 4], ecx
mov ecx, dword [0x58c61c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x4ba3ec
xor eax, eax
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x74]
lea eax, [edi + 8]
add ecx, 8
push eax
call fcn.00505c11
mov ecx, dword [esi + 0x74]
lea eax, [edi + 4]
push eax
add ecx, 4
call fcn.00505c11
mov ecx, dword [esi + 0x74]
push edi
call fcn.00505c11
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x10], ecx
jmp 0x4ba5bc
cmp dword [esi + 0x78], ebx
jne 0x4ba4f7
push 8
call fcn.00505819
mov edi, eax
pop ecx
mov dword [ebp + 0xc], edi
cmp edi, ebx
mov dword [ebp - 4], 1
je 0x4ba456
mov ecx, edi
call fcn.0052333f
mov ecx, edi
jmp 0x4ba458
xor ecx, ecx
or dword [ebp - 4], 0xffffffff
push ebx
push str.HexinSSLCnt.SocksProxy
mov dword [esi + 0x78], ecx
call fcn.005233eb
test eax, eax
jne 0x4ba4f7
mov edi, dword [esi + 0x78]
cmp edi, ebx
je 0x4ba487
mov ecx, edi
call fcn.0052343e
push edi
call fcn.00505842
pop ecx
push 0xffffffffffffffff
push 4
push 0x14d
mov dword [esi + 0x78], ebx
call fcn.00513ffb
cmp eax, 6
jne 0x4ba4e4
lea ecx, [ebp - 0x14]
call fcn.004219ec
push 0x166
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.00421a9e
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg eax
sbb eax, eax
push 1
and eax, ecx
push ebx
push ebx
mov eax, dword [eax]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00421a1a
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
push 0x14
call fcn.00505819
cmp eax, ebx
pop ecx
je 0x4ba525
mov ecx, dword [0x58c61c]
mov dword [eax], ecx
mov ecx, dword [0x58c61c]
mov dword [eax + 4], ecx
mov ecx, dword [0x58c61c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x4ba527
xor eax, eax
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x74], eax
call fcn.004bba2d
mov ecx, dword [esi + 0x74]
push str.127.0.0.1
movsx eax, ax
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x74]
add ecx, 8
call fcn.00505c61
mov ecx, dword [esi + 0x78]
call fcn.004bbb02
push eax
push str._ld
push dword [esi + 0x74]
call fcn.00501ac9
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x4ba5bc
mov ecx, dword [eax + 0x10]
cmp ecx, 1
jne 0x4ba587
push dword [eax + 4]
mov cx, word [eax + 0xc]
push dword [eax]
push ecx
push dword [eax + 8]
push str.HTTP
jmp 0x4ba5b4
cmp ecx, 2
jne 0x4ba5a0
push dword [eax + 4]
mov cx, word [eax + 0xc]
push dword [eax]
push ecx
push dword [eax + 8]
push str.SOCKS5
jmp 0x4ba5b4
push dword [eax]
mov cx, word [eax + 0xc]
push 0x5913bc
push ecx
push dword [eax + 8]
push str.SOCKS
mov ecx, dword [esi + 0x78]
call fcn.004bba4c
mov ecx, esi
call fcn.004ba5c8
jmp 0x4ba4e6