Function at 0x423a19
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [sym.imp.mozglue.dll__wcsdup]
xor ebx, ebx
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
call esi
pop ecx
mov ecx, dword [edi + 0x2c]
mov dword [edi + 0x2c], eax
test ecx, ecx
je 0x423a4a
push ecx
call dword [sym.imp.mozglue.dll_free]
pop ecx
push dword [ebp + 0xc]
call esi
pop ecx
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, 0x40c
mov edx, 0x8040c
cmp dword [ecx + 0x44], ebx
cmovne eax, edx
mov dword [ebp + 0xc], eax
cmp dword [edi + 0x1c], ebx
je 0x423a82
call fcn.0040fd99
mov ecx, dword [ebp + 0xc]
cmp dword [eax], 5
jge 0x423a84
or ecx, 0x1000000
jmp 0x423a84
mov ecx, eax
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 4]
push eax
push dword [ebp + 0x14]
movzx eax, byte [ebp + 0x10]
push ebx
push ebx
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp + 8]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x423ac5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push 0x12
pop ebx
mov dword [ecx], eax
jmp 0x423bbe
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.0040f983
cmp dword [edi + 0x1c], ebx
je 0x423b0e
push dword [ebp - 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x423b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x14
jmp 0x423b9f
mov ecx, dword [edi + 0x14]
call fcn.0040db06
test al, al
je 0x423b50
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x423b48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x15
jmp 0x423b9f
lea ecx, [edi + 0x14]
call fcn.004059c1
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x18]
push eax
call fcn.0040f925
test al, al
jne 0x423b79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x17
jmp 0x423b9f
mov ecx, dword [ebp - 0x18]
call fcn.0042472d
mov dword [edi + 0x28], eax
test eax, eax
jne 0x423ba2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x18]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x2b
pop ebx
jmp 0x423bb6
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f9c3
push eax
mov ecx, edi
call fcn.0040f983
lea ecx, [ebp - 0x18]
call fcn.0040f898
test esi, esi
je 0x423bca
push esi
call dword [sym.imp.mozglue.dll_free]
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x18