Function at 0x428a90
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, 0xe0
mov eax, dword [0x43600c]
mov esi, dword [ebp + 0xc]
mov edi, ecx
xor eax, ebp
mov dword [esp + 0xd8], eax
push dword [ebp + 8]
call dword [sym.imp.mozglue.dll__wcsdup]
add esp, 4
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x428ad2
push ecx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push esi
call dword [sym.imp.mozglue.dll__wcsdup]
add esp, 4
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
cmp dword [ecx + 0x48], 0
setne bl
shl ebx, 0x13
or ebx, 0x40c
cmp dword [edi + 0x1c], 0
je 0x428b10
call fcn.0040c730
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea esi, [esp + 0x54]
mov edi, eax
push dword [ebp + 0x1c]
push eax
push esi
call fcn.00406530
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp dword [esi + 0x14], 7
jbe 0x428b3a
mov esi, dword [esp + 0x54]
mov edx, dword [ebp + 0x14]
movzx eax, byte [ebp + 0x10]
lea edi, [esp + 0x30]
xorps xmm0, xmm0
xor ecx, ecx
movaps xmmword [edi], xmm0
add edx, 4
push edi
push edx
push ecx
push esi
push ebx
push eax
push ecx
push ecx
mov esi, dword [esp + 0x2c]
push esi
push dword [ebp + 8]
mov ebx, dword [esp + 0x40]
push dword [ebx + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x428bee
lea ecx, [esp + 0x20]
push edi
call fcn.0040bef0
mov eax, dword [ebx + 0x1c]
mov edi, ebx
test eax, eax
je 0x428b97
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x428ca3
mov ebx, dword [edi + 0x14]
lea eax, [ebx + 1]
cmp eax, 2
jae 0x428c56
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.0040bfe0
test al, al
je 0x428c00
push dword [esp + 0x20]
call fcn.0042adf0
add esp, 4
test eax, eax
mov dword [edi + 0x28], eax
je 0x428cc4
mov ebx, edi
mov edi, esi
lea esi, [esp + 0x6c]
lea ecx, [esp + 0x20]
push esi
call fcn.0040c0a0
mov ecx, ebx
push esi
mov esi, edi
call fcn.0040bf20
xor edi, edi
jmp 0x428c1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
mov edi, 0x12
mov dword [ecx], eax
jmp 0x428c25
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
lea ecx, [esp + 0x20]
call fcn.0040bf80
lea ecx, [esp + 0x54]
call fcn.00401b50
test esi, esi
je 0x428c3c
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.0042ee00
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], 0
push eax
push 8
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x428d0f
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x6c]
mov dword [ecx], eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x428ce5
lea ecx, [edi + 0x14]
call fcn.00405da0
lea ecx, [esp + 0x1c]
call fcn.00405da0
jmp 0x428ba6
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 0x428c1c
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 0x428c1c
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]
lea ecx, [esp + 0x1c]
call fcn.00405da0
mov edi, 0x15
jmp 0x428c1c
mov eax, dword [esp + 0x4c]
xor ecx, ecx
lea esi, [esp + 0x48]
mov dword [esi], ecx
mov ecx, esi
push eax
call fcn.00405e20
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, 0x48
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov dword [esp + 0x6c], eax
mov eax, 0x48
lea esi, [edi + eax]
mov dword [esp + 0x74], esi
push eax
xor eax, eax
mov dword [esp + 0x18], 0
push eax
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x50]
mov dword [esp + 0x70], esi
push eax
mov eax, 0x48
push eax
push edi
push 0x1f
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, 0
je 0x428dae
mov esi, dword [edi]
mov eax, 0
mov dword [esp + 0x14], 0
test esi, esi
je 0x428dae
push 0x44
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, eax
push esi
call fcn.00426d60
mov al, 1
lea esi, [esp + 0x6c]
mov edi, eax
mov ecx, esi
call fcn.00403cf0
lea ecx, [esp + 0x48]
call fcn.00405da0
mov eax, edi
mov edi, dword [esp + 0x18]
test al, al
je 0x428e28
lea eax, [edi + 0x30]
mov ecx, esi
push eax
mov esi, dword [esp + 0x18]
push esi
call fcn.00425780
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
push ecx
push ecx
lea eax, [esp + 0x78]
push eax
push ecx
push ebx
call fcn.00422930
add esp, 0x18
lea ecx, [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.00425890
test esi, esi
je 0x428e10
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0xc]
jne 0x428c77
mov ebx, dword [esp + 0x1c]
jmp 0x428c77
mov eax, dword [esp + 0x14]
test eax, eax
je 0x428e39
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0xc]
jmp 0x428c77