Function at 0x4be68d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x53e748
call fcn.004eec88
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 0x4be8f7
cmp dword [ebp + 0xc], ebx
je 0x4be8f7
cmp dword [ebp + 0x10], ebx
je 0x4be8f7
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], eax
call fcn.0050a119
push dword [ebp + 0x10]
lea ecx, [esi + 0x6c]
call fcn.0050a119
cmp dword [esi + 0x80], ebx
jne 0x4be708
push 0x44
call fcn.00509cd1
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4be6fc
call fcn.004b64d0
jmp 0x4be6fe
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x80], eax
mov ecx, dword [esi + 0x80]
push edi
call fcn.0050a0c9
mov ecx, dword [esi + 0x80]
lea eax, [edi + 4]
push eax
add ecx, 4
call fcn.0050a0c9
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.0050a0c9
mov ecx, dword [esi + 0x80]
lea eax, [edi + 0x1c]
push eax
add ecx, 0x1c
call fcn.0050a0c9
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.0050a4b2
mov edi, dword [esi + 0x74]
cmp edi, ebx
je 0x4be788
mov ecx, edi
call fcn.0043feaf
push edi
call fcn.00509cfa
pop ecx
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0x80]
push 0x589654
add eax, 0x18
mov eax, dword [eax]
push eax
call fcn.004ef355
pop ecx
test eax, eax
pop ecx
je 0x4be83d
mov eax, dword [esi + 0x80]
push str.CERT
add eax, 0x18
mov eax, dword [eax]
push eax
call fcn.004ef355
pop ecx
test eax, eax
pop ecx
je 0x4be83d
mov edi, dword [ebp + 0x18]
cmp edi, ebx
je 0x4be9cf
push 0x14
call fcn.00509cd1
cmp eax, ebx
pop ecx
je 0x4be7fd
mov ecx, dword [0x5927d4]
mov dword [eax], ecx
mov ecx, dword [0x5927d4]
mov dword [eax + 4], ecx
mov ecx, dword [0x5927d4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x4be7ff
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.0050a0c9
mov ecx, dword [esi + 0x74]
lea eax, [edi + 4]
push eax
add ecx, 4
call fcn.0050a0c9
mov ecx, dword [esi + 0x74]
push edi
call fcn.0050a0c9
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x10], ecx
jmp 0x4be9cf
cmp dword [esi + 0x78], ebx
jne 0x4be90a
push 8
call fcn.00509cd1
mov edi, eax
pop ecx
mov dword [ebp + 0xc], edi
cmp edi, ebx
mov dword [ebp - 4], 1
je 0x4be869
mov ecx, edi
call fcn.005277fd
mov ecx, edi
jmp 0x4be86b
xor ecx, ecx
or dword [ebp - 4], 0xffffffff
push ebx
push str.HexinSSLCnt.SocksProxy
mov dword [esi + 0x78], ecx
call fcn.005278a9
test eax, eax
jne 0x4be90a
mov edi, dword [esi + 0x78]
cmp edi, ebx
je 0x4be89a
mov ecx, edi
call fcn.005278fc
push edi
call fcn.00509cfa
pop ecx
push 0xffffffffffffffff
push 4
push 0x14d
mov dword [esi + 0x78], ebx
call fcn.005184ab
cmp eax, 6
jne 0x4be8f7
lea ecx, [ebp - 0x14]
call fcn.00421b78
push 0x166
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.00421c2a
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.00421ba6
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.00509cd1
cmp eax, ebx
pop ecx
je 0x4be938
mov ecx, dword [0x5927d4]
mov dword [eax], ecx
mov ecx, dword [0x5927d4]
mov dword [eax + 4], ecx
mov ecx, dword [0x5927d4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x4be93a
xor eax, eax
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x74], eax
call fcn.004bfe57
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.0050a119
mov ecx, dword [esi + 0x78]
call fcn.004bff2c
push eax
push str._ld
push dword [esi + 0x74]
call fcn.00505f09
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x4be9cf
mov ecx, dword [eax + 0x10]
cmp ecx, 1
jne 0x4be99a
push dword [eax + 4]
mov cx, word [eax + 0xc]
push dword [eax]
push ecx
push dword [eax + 8]
push 0x58a834
jmp 0x4be9c7
cmp ecx, 2
jne 0x4be9b3
push dword [eax + 4]
mov cx, word [eax + 0xc]
push dword [eax]
push ecx
push dword [eax + 8]
push str.SOCKS5
jmp 0x4be9c7
push dword [eax]
mov cx, word [eax + 0xc]
push 0x59758c
push ecx
push dword [eax + 8]
push 0x58ad88
mov ecx, dword [esi + 0x78]
call fcn.004bfe76
mov ecx, esi
call fcn.004be9db
jmp 0x4be8f9