Function at 0x4613f0
Capabilities:
Create process on windows
Create process suspended
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov ebx, ecx
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4f62d0]
mov eax, dword [eax]
xor eax, ebp
mov dword [esp + 0xc8], eax
push dword [ebp + 8]
call dword [sym.imp.mozglue.dll__wcsdup]
add esp, 4
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [ebx + 0x2c], eax
test ecx, ecx
je 0x46143a
push ecx
call sub.mozglue.dll_free
add esp, 4
push edi
call dword [sym.imp.mozglue.dll__wcsdup]
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp dword [esi + 0x48], 0
setne bl
shl ebx, 0x13
or ebx, 0x40c
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x461475
call fcn.00440010
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
lea eax, [esp + 0x48]
push dword [ebp + 0x1c]
push edi
push eax
call fcn.0041b980
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
test byte [esp + 0x48], 1
je 0x4614a2
mov eax, dword [esp + 0x50]
jmp 0x4614a6
lea eax, [esp + 0x4a]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movzx ecx, byte [ebp + 0x10]
add esi, 4
lea edi, [esp + 0x30]
push edi
push esi
push 0
push eax
push ebx
push ecx
push 0
push 0
mov esi, dword [esp + 0x38]
push esi
push dword [ebp + 8]
mov ebx, dword [esp + 0x34]
push dword [ebx + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4615ae
lea ecx, [esp + 0x20]
push edi
call fcn.0043ed30
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x461505
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x4615ce
mov edi, dword [ebx + 0x14]
lea eax, [edi + 1]
cmp eax, 2
jb 0x461768
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x58]
push eax
push 8
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4615ef
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x54]
push eax
call fcn.0041a010
mov esi, dword [esp + 0x54]
push 0x48
call fcn.004c3980
add esp, 4
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
lea eax, [esp + 0x5c]
push eax
push 0x48
push ebx
push 0x1f
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4615f7
mov esi, dword [ebx]
test esi, esi
je 0x461609
push 0x44
call fcn.004c3980
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, eax
push esi
call fcn.0045ea60
jmp 0x461611
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov edi, 0x12
test byte [esp + 0x48], 1
jne 0x4617fb
jmp 0x461807
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x4617eb
mov esi, dword [ebp + 0x20]
jmp 0x4616c0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x46161a
mov dword [esp + 0x10], 0
test esi, esi
setne al
mov dword [esp + 0x14], eax
push ebx
call fcn.004c3b20
add esp, 4
mov esi, dword [esp + 0x54]
lea eax, [esi + 1]
cmp eax, 2
jb 0x461657
mov ebx, edi
mov edi, dword [ebp + 4]
call fcn.00419db0
push eax
push edi
mov edi, ebx
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.0043dce0
add esp, 0x10
push dword [esp + 0x54]
call fcn.0043dc90
add esp, 4
cmp byte [esp + 0x14], 0
mov eax, dword [esp + 0xc]
je 0x4616ac
add eax, 0x30
lea ecx, [esp + 0x5c]
mov ebx, ecx
push eax
mov esi, dword [esp + 0x14]
push esi
call fcn.0045d0f0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ebx
push 0
push edi
call fcn.00459a30
add esp, 0x18
mov ebx, eax
lea ecx, [esp + 0x5c]
call fcn.0045d2f0
push esi
call fcn.004c3b20
add esp, 4
test ebx, ebx
mov esi, dword [ebp + 0x20]
jne 0x4616c0
mov edi, dword [esp + 0x1c]
jmp 0x4616c0
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [ebp + 0x20]
je 0x4616c0
push eax
call fcn.004c3b20
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov ebx, eax
test eax, eax
je 0x461718
mov eax, dword [esp + 0xc]
lea esi, [eax + 0x14]
mov edi, dword [esi]
lea eax, [edi + 1]
cmp eax, 2
jb 0x46172c
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
call fcn.00419db0
push eax
push dword [esp + 0x18]
push esi
push edi
call fcn.0043dce0
add esp, 0x10
push dword [esi]
call fcn.0043dc90
add esp, 4
mov dword [esi], 0
jmp 0x46172c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [esp + 0x1c]
lea eax, [esi + 1]
cmp eax, 2
jb 0x46175c
mov edi, dword [ebp + 4]
call fcn.00419db0
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
push esi
call fcn.0043dce0
add esp, 0x10
push dword [esp + 0x1c]
call fcn.0043dc90
add esp, 4
test ebx, ebx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
je 0x4617e6
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.0043ef10
test al, al
je 0x4617aa
push dword [esp + 0x20]
call fcn.004642e0
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x4617c8
mov edi, ebx
lea ebx, [esp + 0x5c]
mov ecx, ebx
lea eax, [esp + 0x20]
push eax
call fcn.0043f000
mov ecx, edi
push ebx
call fcn.0043ed70
xor edi, edi
jmp 0x4617eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x4617eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x4617eb
mov edi, 0x15
lea ecx, [esp + 0x20]
call fcn.0043edd0
test byte [esp + 0x48], 1
je 0x461807
push dword [esp + 0x50]
call fcn.004c3b20
add esp, 4
test esi, esi
je 0x461814
push esi
call sub.mozglue.dll_free
add esp, 4
mov eax, dword [esp + 0xc8]
xor eax, ebp
mov ecx, dword [0x4f62d0]
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x461835
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
call fcn.00468008
int3