Function at 0x42ae10
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x270
mov eax, dword [str.ECOP_CL_RES_CONFIG]
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 0x6c]
call fcn.0044b650
test eax, eax
mov dword [esp + 8], eax
jne 0x42ae75
mov ecx, dword [str.ECOP_CL_RES_CONFIG]
lea edx, [esi + 0xa5]
push ecx
push 0x4e05ac
push 0xfff
push edx
call fcn.00466ca7
mov eax, dword [0x4d1fd0]
add esp, 0x10
mov ecx, esi
push 0x453
push str.StartRegisterInfo__
push eax
call fcn.0042b1b0
pop edi
mov eax, 0x23
pop esi
add esp, 0x270
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
push edx
mov edx, dword [str.ejectflag]
push ecx
mov ecx, dword [str.SOFTWAREBaosightlsagentgeneral]
push edx
mov edi, 4
push ecx
mov ecx, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call fcn.0043f580
cmp eax, 0x10
jb 0x42af0b
mov edx, dword [str.ejectflag]
mov eax, dword [str.SOFTWAREBaosightlsagentgeneral]
push edx
push eax
push 0x4e4578
lea ecx, [esi + 0xa5]
push 0xfff
push ecx
call fcn.00466ca7
mov edx, dword [0x4d1fd0]
add esp, 0x14
mov ecx, esi
push 0x45d
push str.StartRegisterInfo__
push edx
call fcn.0042b1b0
mov ecx, dword [str.ECOP_CL_RES_CONFIG]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0044b740
pop edi
mov eax, 0x10
pop esi
add esp, 0x270
ret
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42af31
mov eax, dword [str.ECOP_CL_RES_CONFIG]
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 8]
push edx
push eax
call fcn.0044b740
pop edi
xor eax, eax
pop esi
add esp, 0x270
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [str.ifinfosubmit]
lea eax, [esp + 0x18]
push edx
mov edx, dword [str.SOFTWAREBaosightlsagentgeneral]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call fcn.0043f580
cmp eax, 0x10
jb 0x42afc3
mov eax, dword [str.ifinfosubmit]
mov ecx, dword [str.SOFTWAREBaosightlsagentgeneral]
push eax
push ecx
push 0x4e4578
lea edx, [esi + 0xa5]
push 0xfff
push edx
call fcn.00466ca7
mov eax, dword [0x4d1fd0]
add esp, 0x14
mov ecx, esi
push 0x46e
push str.StartRegisterInfo__
push eax
call fcn.0042b1b0
mov edx, dword [str.ECOP_CL_RES_CONFIG]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 0x6c]
push edx
call fcn.0044b740
pop edi
mov eax, 0x10
pop esi
add esp, 0x270
ret
mov ecx, dword [str.ECOP_CL_RES_CONFIG]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0044b740
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42af26
lea edx, [esp + 0x70]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x42b0e7
cmp eax, 0x104
jg 0x42b0e7
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x70]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4d2000]
mov word [esp + 0x5c], ax
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], eax
push 0x4df9ac
mov dword [esp + 0x34], eax
lea eax, [esp + 0x180]
push 0x103
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call fcn.00466ca7
add esp, 0x14
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x174]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42b0c7
push 0x4e4560
lea ecx, [esi + 0xa5]
push 0xfff
push ecx
call fcn.00466ca7
mov edx, dword [0x4d1fd0]
add esp, 0xc
mov ecx, esi
push 0x493
push str.StartRegisterInfo__
push edx
call fcn.0042b1b0
pop edi
mov eax, 0x10
pop esi
add esp, 0x270
ret
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esi + 0xa0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x270
ret
push 0x4e1ddc
lea edx, [esi + 0xa5]
push 0xfff
push edx
call fcn.00466ca7
mov eax, dword [0x4d1fd4]
add esp, 0xc
mov ecx, esi
push 0x47b
push str.StartRegisterInfo__
push eax
call fcn.0042b1b0
pop edi
mov eax, 0x10
pop esi
add esp, 0x270
ret