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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513a60
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x569080]
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 + 0xc]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x48338f
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x440], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x428]
mov eax, dword [ebp + 8]
push dword [ecx]
push str.msiexec.exe
push dword [eax]
lea eax, [ebp - 0x440]
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x424]
add esp, 0x10
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x482acc
push 0x20
lea ecx, [ebp - 0x440]
call fcn.0040bd00
mov eax, dword [esi]
lea ecx, [ebp - 0x440]
push dword [eax - 0xc]
push eax
call fcn.00402660
xorps xmm0, xmm0
mov dword [ebp - 0x494], 0x44
movlpd qword [ebp - 0x490], xmm0
movlpd qword [ebp - 0x488], xmm0
movlpd qword [ebp - 0x480], xmm0
movlpd qword [ebp - 0x478], xmm0
movlpd qword [ebp - 0x470], xmm0
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
movlpd qword [ebp - 0x458], xmm0
movups xmmword [ebp - 0x450], xmm0
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x48338f
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x420]
push 0x104
push eax
push str.windir
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jne 0x482ceb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x482d75
call fcn.0042b830
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x482cdc
call fcn.0042b830
test byte [eax + 0x20], 1
je 0x482cdc
call fcn.0042b830
mov dword [ebp - 0x434], eax
call fcn.004047f0
mov dword [ebp - 0x428], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x428]
call esi
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x424]
push 0x23
push str.Unable_to_resolve_msiexec.exe_path.
call fcn.00402660
push 0xc
push str._LastError:
lea ecx, [ebp - 0x424]
call fcn.00402660
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
call fcn.0042b240
mov dword [ebp - 0x43c], eax
call fcn.004047f0
mov dword [ebp - 0x428], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x428]
call esi
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x42c]
push 0
push 0x530654
call fcn.00402660
push ecx
push dword [ebp - 0x43c]
lea eax, [ebp - 0x42c]
push ecx
mov ecx, dword [ebp - 0x434]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 6
mov eax, edi
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x482caf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x482cdc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 0x42c], 0xe000001f
jmp 0x483303
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482cf4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.00403870
lea ecx, [esi - 1]
test ecx, ecx
js 0x483385
mov eax, dword [ebp - 0x430]
cmp ecx, dword [eax - 0xc]
jg 0x483385
cmp word [eax + ecx*2], 0x5c
je 0x482d44
push 0x5c
lea ecx, [ebp - 0x430]
call fcn.0040bd00
push 8
push str.system32
lea ecx, [ebp - 0x430]
call fcn.00402660
push 0x5c
lea ecx, [ebp - 0x430]
call fcn.0040bd00
push 0xb
push str.msiexec.exe
lea ecx, [ebp - 0x430]
call fcn.00402660
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x482ecf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x42c], eax
call fcn.0042b830
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x483303
call fcn.0042b830
test byte [eax + 0x20], 1
je 0x483303
call fcn.0042b830
mov dword [ebp - 0x438], eax
call fcn.004047f0
mov dword [ebp - 0x434], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x434]
call esi
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x424]
push 0x19
push str.GetModuleFileName_failed.
call fcn.00402660
push 0xc
push str._LastError:
lea ecx, [ebp - 0x424]
call fcn.00402660
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
call fcn.0042b4e0
mov dword [ebp - 0x43c], eax
call fcn.004047f0
mov dword [ebp - 0x434], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x434]
call esi
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x428]
push 0
push 0x530654
call fcn.00402660
push ecx
push dword [ebp - 0x43c]
lea eax, [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x438]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 0x10
mov eax, edi
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x482eca
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
or edi, 0xffffffff
jmp 0x4832d6
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x48338f
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x482f1a
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.004043d0
jmp 0x482f45
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482f23
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00403870
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x424]
mov edx, dword [ebp - 0x428]
push 0
call fcn.004863c0
add esp, 4
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov ecx, dword [ebp - 0x424]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x482f98
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
or edi, 0xffffffff
cmp dword [ebp - 0x42c], 0
je 0x4830d4
call fcn.0042b830
cmp byte [eax + 0x1c], 0
je 0x483303
call fcn.0042b830
test byte [eax + 0x20], 1
je 0x483303
call fcn.0042b830
mov dword [ebp - 0x43c], eax
call fcn.004047f0
mov dword [ebp - 0x438], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x438]
call esi
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x424]
push 0x1e
push str.VerifyDigitalSignature_failed.
call fcn.00402660
push 0xc
push str._LastError:
lea ecx, [ebp - 0x424]
call fcn.00402660
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
call fcn.0042b240
mov dword [ebp - 0x434], eax
call fcn.004047f0
mov dword [ebp - 0x438], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x438]
call esi
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x428]
push 0
push 0x530654
call fcn.00402660
push ecx
push dword [ebp - 0x434]
lea eax, [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x43c]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 0x1d
mov eax, edi
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4830cf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
or edi, 0xffffffff
jmp 0x4832d6
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x494]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x440]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x483121
push 0xffffffffffffffff
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x42c], 0
jmp 0x483303
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x42c], eax
call fcn.0042b830
cmp byte [eax + 0x1c], 0
je 0x483303
call fcn.0042b830
test byte [eax + 0x20], 1
je 0x483303
call fcn.0042b830
mov dword [ebp - 0x43c], eax
call fcn.004047f0
mov dword [ebp - 0x438], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x438]
call esi
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x424]
push 0xf
push str.CreateProcess__
call fcn.00402660
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4831cc
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4831b0
sub edx, esi
lea ecx, [ebp - 0x424]
sar edx, 1
push edx
push eax
call fcn.00402660
push 0x15
push str.__with_command_line__
lea ecx, [ebp - 0x424]
call fcn.00402660
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x48320c
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4831f0
sub edx, esi
lea ecx, [ebp - 0x424]
sar edx, 1
push edx
push eax
call fcn.00402660
push str.__failed.
lea ecx, [ebp - 0x424]
call fcn.0040da80
push 0xc
push str._LastError:
lea ecx, [ebp - 0x424]
call fcn.00402660
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
call fcn.0042b4e0
mov dword [ebp - 0x434], eax
call fcn.004047f0
mov dword [ebp - 0x438], eax
test eax, eax
je 0x48338f
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x438]
call esi
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x428]
push 0
push 0x530654
call fcn.00402660
push ecx
push dword [ebp - 0x434]
lea eax, [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x43c]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 0x27
mov eax, edi
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4832d6
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x483303
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x483331
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x440]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x483362
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x42c]
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 fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.004027d0
push 0x80004005
call fcn.004027d0
int3