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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x314
mov eax, dword [0x5402b0]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push esi
push edi
lea eax, [esp + 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
cmp edi, 0x104
ja 0x438ed6
xor ebx, ebx
cmp edi, ebx
je 0x438ed6
xor ecx, ecx
push 0xc
mov eax, str.rootsupd.exe
lea esi, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
call fcn.004017f0
xor edx, edx
push edi
lea eax, [esp + 0x114]
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
call fcn.004017f0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
lea edi, [esp + 0xf8]
call fcn.0040e410
mov esi, 8
add esp, 4
cmp dword [esp + 0x28], esi
jb 0x438c3d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
cmp dword [esp + 0x44], esi
jb 0x438c64
mov eax, dword [esp + 0x30]
push eax
call fcn.004c097a
add esp, 4
push 0x44
lea ecx, [esp + 0x94]
push ebx
push ecx
call fcn.004c5470
xor eax, eax
add esp, 0xc
push 0xffffffffffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push ebx
lea eax, [esp + 0xfc]
xor edx, edx
push eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x9c], 0x44
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
call fcn.004018f0
xor ecx, ecx
push 1
mov eax, 0x5202e8
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
call fcn.004017f0
xor edx, edx
push 1
mov eax, 0x5202e8
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
call fcn.004017f0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, esi
lea edi, [esp + 0x60]
call fcn.0040e410
add esp, 4
mov ecx, eax
lea edi, [esp + 0x78]
call fcn.0040e410
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xe4]
call fcn.004018f0
mov esi, 8
cmp dword [esp + 0x8c], esi
jb 0x438d55
mov edx, dword [esp + 0x78]
push edx
call fcn.004c097a
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], ax
cmp dword [esp + 0x70], esi
jb 0x438d82
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
cmp dword [esp + 0x28], esi
jb 0x438da4
mov eax, dword [esp + 0x14]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x438dc6
mov edx, dword [esp + 0x30]
push edx
call fcn.004c097a
add esp, 4
mov eax, dword [esp + 0xec]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bffc9
mov edi, 8
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xdc]
cmp dword [esp + 0xf0], edi
jae 0x438e05
lea eax, [esp + 0xdc]
mov ecx, dword [esp + 0xec]
lea edx, [ecx + ecx]
push edx
push eax
push esi
call fcn.004c7510
mov ecx, dword [esp + 0xf8]
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x48]
push edx
mov word [esi + ecx*2], ax
lea eax, [esp + 0x94]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x48]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x4c]
push eax
call esi
call fcn.00438530
mov byte [esp + 0xf], al
cmp dword [esp + 0xf0], edi
jb 0x438e88
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], dx
cmp dword [esp + 0x10c], edi
jb 0x438ebd
mov eax, dword [esp + 0xf8]
push eax
call fcn.004c097a
add esp, 4
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x31c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.004c0985
mov esp, ebp
pop ebp
ret