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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0f0f
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xe0]
push str.D:BTImportsOpenChromeChrome_src_baseprocesslaunch_win.cc
push eax
mov dword [ebp - 0xcc], esi
call fcn.004593e0
add esp, 8
lea ecx, [ebp - 0x50]
push eax
call fcn.004793f0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6359c4]
mov dword [ebp - 4], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x636768]
cmp eax, dword [ecx + 4]
jg 0x4793a8
push 0x4c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.00438830
cmp dword [esi + 0x20], 1
mov edi, dword [esi + 0x24]
sete byte [ebp - 0xbd]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xd0], eax
cmp edi, eax
je 0x478ed3
sub eax, edi
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x478e63
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xc4]
push 0
call fcn.00418940
lea ecx, [ebp - 0xac]
call fcn.0045bb30
lea ecx, [ebp - 0x50]
call fcn.00479490
mov eax, dword [ebp - 0xc4]
jmp 0x47938d
mov esi, dword [ebp - 0xd0]
nop dword [eax]
push 1
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
add edi, 4
cmp edi, esi
jne 0x478e70
push 1
lea ecx, [ebp - 0xac]
call fcn.00438b40
mov esi, dword [ebp - 0xcc]
test al, al
je 0x478e38
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push 0x20002
lea ecx, [ebp - 0xac]
call fcn.00438c40
test al, al
je 0x478e38
mov edi, 0x80000
mov byte [ebp - 0xbd], 1
mov dword [ebp - 0xc8], edi
jmp 0x478ed5
xor edi, edi
cmp byte [esi + 0x1d], 0
mov ecx, dword [ebp - 0x7c]
je 0x478ee4
or ecx, 0x80
cmp byte [esi + 0x34], 0
mov eax, 0x5b6ea8
cmove eax, dword [ebp - 0xa0]
or ecx, 1
mov dword [ebp - 0xa0], eax
xor eax, eax
cmp byte [esi + 0x1c], al
mov dword [ebp - 0x7c], ecx
sete al
mov word [ebp - 0x78], ax
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x478f1d
cmp dword [esi + 0x60], eax
jne 0x478f1d
cmp dword [esi + 0x64], eax
je 0x478f35
mov dword [ebp - 0x70], eax
or ecx, 0x100
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x68], eax
cmp dword [esi + 0x38], 0
je 0x478f51
call fcn.0040b2f0
cmp eax, 5
jge 0x478f51
or edi, 0x1000000
mov dword [ebp - 0xc8], edi
or edi, 0x1000000
xorps xmm0, xmm0
cmp byte [esi + 0x68], 0
movups xmmword [ebp - 0xbc], xmm0
cmove edi, dword [ebp - 0xc8]
cmp dword [esi + 0x14], 0
jne 0x478f7e
mov dword [ebp - 0xc8], 0
jmp 0x478f95
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0xc8], eax
jb 0x478f95
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.0040b170
cmp dword [esi + 0x30], 0
mov byte [ebp - 4], 4
je 0x479023
mov eax, dword [esi + 0x4c]
lea edx, [esi + 0x40]
or edi, 0x400
mov dword [ebp - 0xa0], eax
test edx, edx
je 0x478fc5
cmp dword [edx], 0
jne 0x478fc7
xor edx, edx
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa8]
push eax
movzx eax, byte [ebp - 0xbd]
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
push 0
push dword [esi + 0x3c]
push edi
push eax
push 0
push edx
push ecx
push 0
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x47927a
mov esi, dword [ebp - 0xc4]
mov ecx, esi
push eax
mov dword [ebp - 4], 4
call fcn.00418940
mov byte [ebp - 4], 7
jmp 0x479353
xor eax, eax
mov dword [ebp - 0x14], 7
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 8
cmp byte [esi + 0x74], cl
jne 0x47912f
cmp dword [esi + 0x70], ecx
je 0x4791d8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ecx, eax
mov dword [ebp - 0xcc], ecx
test ecx, ecx
jne 0x4790a1
mov esi, dword [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.00418940
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x479084
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xc
jmp 0x479353
lea eax, [esi + 0x6c]
push eax
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.0058d130
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
add esp, 0xc
cmp ecx, eax
je 0x479113
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
cmp ecx, 8
jb 0x4790dd
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a5e0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
mov byte [ebp - 4], 8
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xe8]
call fcn.0040a580
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x4791c7
lea eax, [esi + 0x6c]
push eax
lea eax, [ebp - 0xe8]
push 0x600530
push eax
call fcn.0058d130
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
add esp, 0xc
cmp ecx, eax
je 0x4791a1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp ecx, 8
jb 0x47916f
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a5e0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x4791c3
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.0040a5e0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
or edi, 0x400
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0xbc]
push edx
lea edx, [ebp - 0xa8]
push edx
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
push eax
movzx eax, byte [ebp - 0xbd]
push edi
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47925d
mov esi, dword [ebp - 0xc4]
mov ecx, esi
push eax
mov dword [ebp - 4], 8
call fcn.00418940
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x479240
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x10
jmp 0x479353
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x11
cmp eax, 8
jb 0x479276
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xbc]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x60], xmm0
call fcn.00453f10
mov eax, dword [esi + 0x38]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4792fe
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4792fe
xorps xmm0, xmm0
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
movlpd qword [ebp - 0x30], xmm0
call fcn.0045bc70
push eax
lea ecx, [ebp - 0x30]
call fcn.00418940
push 1
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.0049d390
mov esi, dword [ebp - 0xc4]
mov ecx, esi
push 0
call fcn.00418940
lea ecx, [ebp - 0x30]
call fcn.00439330
lea ecx, [ebp - 0x60]
call fcn.00454400
mov byte [ebp - 4], 0x15
jmp 0x479353
cmp byte [esi + 0x69], 0
je 0x479321
push dword [ebp - 0x60]
call fcn.0045c890
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x479321
mov dword [ebp - 4], 0x12
cmp byte [esi], 0
je 0x479331
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x60]
call fcn.0045bc70
mov esi, dword [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.00418940
lea ecx, [ebp - 0x60]
call fcn.00454400
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x479368
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x34], 7
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], ax
call fcn.0045bb30
lea ecx, [ebp - 0x50]
call fcn.00479490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
push 0x636768
call fcn.0040b37e
add esp, 4
cmp dword [0x636768], 0xffffffff
jne 0x478ddc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00479400
push 0x636768
mov byte [0x636764], al
mov byte [ebp - 4], 0
call fcn.0040b56b
add esp, 4
jmp 0x478ddc