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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c20d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push edi
mov dword [ebp - 0x22c], ecx
lea ecx, [ebp - 0x220]
call fcn.004044f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004044f0
mov byte [ebp - 4], 1
call fcn.004045b0
mov dword [ebp - 0x218], eax
mov byte [ebp - 0x210], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x46c910
lea ecx, [ebp - 0x214]
call fcn.0043d811
mov byte [ebp - 4], 2
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x467dc0
call fcn.004054fb
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x234], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x234]
call fcn.00404560
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0xec
call fcn.00404560
push eax
mov ecx, 0x468260
call fcn.00402f04
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.0043d7a3
push pe_nt_image_headers32
lea edx, [ebp - 0x210]
push edx
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xcb
je 0x40a2d9
cmp dword [ebp - 0x21c], 0
jne 0x40a318
push str._nInside_CLiveUpdate::ExecLiveUpdate___GetEnvironmentVariable_failed_...
call fcn.00413e70
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043d7a3
jmp 0x40a551
lea eax, [ebp - 0x210]
push eax
call fcn.0042a0a0
add esp, 4
test eax, eax
ja 0x40a37d
push 0x46b66c
lea ecx, [ebp - 0x210]
push ecx
call fcn.00429bd0
add esp, 8
push 0x5c
lea edx, [ebp - 0x210]
push edx
call fcn.0042a120
add esp, 8
mov byte [eax], 0
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.0042a120
add esp, 8
mov byte [eax], 0
push 0x5c
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042a120
add esp, 8
mov byte [eax], 0
jmp 0x40a38c
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x10]
call fcn.0043d92c
push str.SamsungPrinterLiveUpdateLUpdate.exe
lea ecx, [ebp - 0x10]
call fcn.0043db7f
push str._nInside_ExecLiveUpdate...
call fcn.00413e70
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push 0x45dbe4
call fcn.00413e70
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.00404570
test eax, eax
je 0x40a517
call fcn.00411d91
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0x110], 0
je 0x40a422
push str._nExecuting_Live_Update_from_x86_folder.....
call fcn.00413e70
add esp, 4
push str._x86_
lea ecx, [ebp - 0x10]
call fcn.0043c441
test eax, eax
jg 0x40a411
push str.Program_Files__x86_
push str.Program_Files
lea ecx, [ebp - 0x10]
call fcn.0043c131
mov edx, dword [ebp - 0x10]
push edx
push str._nszSMLUpdatePath_is__s...
call fcn.00413e70
add esp, 8
call fcn.0040aa36
and eax, 0xff
test eax, eax
je 0x40a4a5
push str._nSSMMgr_is_IsHighIntegrityProcess..._
call fcn.00413e70
add esp, 4
push 0
lea ecx, [ebp - 0x10]
call fcn.00404560
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jae 0x40a492
push 0x45dcac
call fcn.00413e70
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043d7a3
jmp 0x40a551
mov eax, dword [ebp - 0x10]
push eax
push 0x45dcf0
call fcn.00413e70
add esp, 8
jmp 0x40a515
push str._nSSMMgr_is_MediumIntegrityProcess..._
call fcn.00413e70
add esp, 4
push 0
lea ecx, [ebp - 0x10]
call fcn.00404560
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jae 0x40a504
push str._nWinExec_function_failed_to_excute_Live_Update__check_the_path..._
call fcn.00413e70
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043d7a3
jmp 0x40a551
mov ecx, dword [ebp - 0x10]
push ecx
push str._nRunning_LUpdate_from_Manager..._s_n
call fcn.00413e70
add esp, 8
jmp 0x40a524
push str._nCould_not_start_Live_Update__please_check_the_registry_path..._
call fcn.00413e70
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0043d7a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043d7a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043d7a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret