Function at 0x428640
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x4b731c]
xor eax, ebp
mov dword [esp + 0xc8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
lea esi, [esp + 0x50]
push 0xdb
push str..._.._base_process_launch_win.cc
push str.LaunchProcess
push esi
call fcn.00431f30
add esp, 0x10
lea ecx, [esp + 0xa0]
push 0x4ba8ac
push esi
call fcn.00431f70
pxor xmm0, xmm0
movdqa xmmword [esp + 0xb0], xmm0
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x8c], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
lea ecx, [esp + 0x50]
call fcn.00432310
xor esi, esi
cmp byte [ebx + 0x3e], 0
mov ecx, 0
je 0x4286f6
call fcn.00432a80
xor ecx, ecx
cmp eax, 0x10
setge cl
mov edx, dword [ebx + 0x18]
xor eax, eax
cmp edx, dword [ebx + 0x1c]
setne al
add eax, ecx
je 0x42871c
lea ecx, [esp + 0x50]
push eax
call fcn.00432370
mov esi, 0x80000
test al, al
je 0x4288b8
cmp byte [ebx + 0x3e], 0
je 0x428754
call fcn.00432a80
cmp eax, 0x10
jl 0x428754
or byte [esp + 0xbb], 0x20
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x50]
push 0x10
push eax
push 0x20007
call fcn.00432420
test al, al
je 0x4288b8
mov dword [esp + 0xc], esi
cmp dword [ebx + 0x14], 1
mov eax, ebx
mov ebx, dword [ebx + 0x18]
sete cl
mov esi, dword [eax + 0x1c]
cmp ebx, esi
je 0x4287e9
cmp esi, ebx
js 0x4288b8
lea edi, [esp + 0x40]
jmp 0x428787
add ebx, 4
cmp ebx, esi
je 0x4287bf
push 1
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x428780
push str.result
push 0x116
push str..._.._base_process_launch_win.cc
push edi
call fcn.00420080
add esp, 0x10
mov ecx, edi
call fcn.0041ffe0
mov ecx, edi
call fcn.0041fff0
jmp 0x428780
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
lea ecx, [esp + 0x50]
push edx
push eax
push 0x20002
call fcn.00432420
mov cl, 1
test al, al
mov eax, esi
mov edi, dword [ebp + 8]
je 0x4288b8
cmp byte [eax + 0x11], 0
mov ebx, eax
je 0x4287f9
or byte [esp + 0x80], 0x80
mov byte [esp + 0xb], cl
cmp byte [ebx + 0x28], 0
je 0x42880b
mov dword [esp + 0x5c], 0x49ea00
mov eax, dword [esp + 0x80]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x80], ecx
movzx ecx, byte [ebx + 0x10]
xor ecx, 1
mov word [esp + 0x84], cx
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov esi, ecx
or esi, edx
jne 0x428841
xor edx, edx
cmp dword [ebx + 0x38], 0
je 0x428865
or eax, 0x101
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x94], eax
cmp dword [ebx + 0x2c], 0
mov esi, dword [esp + 0xc]
je 0x428880
call fcn.00432a80
lea ecx, [esi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
mov edi, esi
or edi, 0x1000000
cmp byte [ebx + 0x3c], 0
cmove edi, esi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movzx eax, byte [ebx + 0xf]
mov ecx, eax
test al, al
jns 0x4288a6
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
test ecx, ecx
je 0x4288c6
lea esi, [ebx + 4]
test al, al
jns 0x4288c8
mov esi, dword [esi]
jmp 0x4288c8
mov ecx, edi
push 0
call fcn.00428c70
jmp 0x428b98
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
cmp byte [edx + 0xb], 0
js 0x4288f9
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
movq xmm0, qword [edx]
movq qword [esp + 0x30], xmm0
jmp 0x428907
lea ecx, [esp + 0x30]
push dword [edx + 4]
push dword [edx]
call fcn.0041e1ca
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42894d
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x4289d4
mov dword [esp + 0xc], esi
or edi, 0x400
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0xb]
cmp byte [esp + 0x3b], 0
jns 0x42899a
mov esi, ebx
mov edx, dword [esp + 0x30]
jmp 0x4289a0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
cmp byte [ebx + 0x4c], 0
je 0x4289e5
lea eax, [ebx + 0x40]
lea ecx, [esp + 0x24]
push eax
push 0x49ea02
push ecx
call fcn.00432ae0
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x10], xmm0
jmp 0x428a28
mov esi, ebx
lea edx, [esp + 0x30]
lea ebx, [esp + 0x40]
push ebx
lea ebx, [esp + 0x58]
push ebx
push dword [esp + 0x14]
push ecx
push edi
push eax
push 0
push 0
push edx
push 0
push dword [esi + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
push dword [esp + 0x10]
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
jne 0x428a90
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00428c70
jmp 0x428b85
cmp dword [ebx + 0x48], 0
je 0x428bc5
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4289d4
lea edx, [ebx + 0x40]
lea ecx, [esp + 0x24]
push edx
push eax
push ecx
mov ebx, eax
call fcn.00432ae0
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x10], xmm0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov cl, byte [esp + 0xb]
cmp byte [esp + 0x1b], 0
jns 0x428a39
mov eax, dword [esp + 0x10]
jmp 0x428a3d
lea eax, [esp + 0x10]
or edi, 0x400
movzx ecx, cl
cmp byte [esp + 0x3b], 0
jns 0x428a53
mov edx, dword [esp + 0x30]
jmp 0x428a57
lea edx, [esp + 0x30]
lea ebx, [esp + 0x40]
push ebx
lea ebx, [esp + 0x58]
push ebx
push esi
push eax
push edi
push ecx
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x428b16
cmp byte [esp + 0x1b], 0
jns 0x428a8d
push dword [esp + 0x10]
call fcn.00473386
add esp, 4
mov esi, dword [ebp + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call fcn.00432f80
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x428abe
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x428b37
cmp byte [esi + 0x3d], 0
je 0x428ad7
push dword [esp + 0x10]
call fcn.004331b0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [esi], 0
mov edi, dword [ebp + 8]
je 0x428aeb
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4ba920]
test ecx, ecx
mov edx, dword [ebp + 0xc]
je 0x428b03
push edx
push eax
call fcn.0042f5f0
lea ecx, [esp + 0x10]
call fcn.00433170
mov ecx, edi
push eax
call fcn.00428c70
jmp 0x428b7c
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00428c70
cmp byte [esp + 0x1b], 0
jns 0x428b85
push dword [esp + 0x10]
call fcn.00473386
add esp, 4
jmp 0x428b85
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00433170
lea edi, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00428c70
mov ecx, edi
push 1
push 1
call fcn.00428db0
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
call fcn.00428c70
mov ecx, edi
mov edi, esi
call fcn.00428d60
lea ecx, [esp + 0x10]
call fcn.004330d0
cmp byte [esp + 0x3b], 0
jns 0x428b98
push dword [esp + 0x30]
call fcn.00473386
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00432340
lea ecx, [esp + 0xa0]
call fcn.00432040
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.004733c1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov cl, byte [esp + 0xb]
jmp 0x428a43