Function at 0x4342c8
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
sub esp, 0x44
mov eax, 0x69c7a7
call fcn.00640244
sub esp, 0x888
push ebx
push esi
mov esi, dword [ebp + 0x50]
push edi
push dword [ebp + 0x54]
push esi
push str.RunElevatedInstall:__s_with_params___s__n
call fcn.0040e2b4
push 0x30
pop edi
push edi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0065ab80
mov eax, dword [0x7e097c]
add esp, 0x18
and dword [ebp - 0x38], 0
mov ebx, str.utinstall4823DF041B0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push 0xc
pop edi
push eax
mov dword [ebp - 0x34], 0x439ee1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
xor eax, eax
push eax
push dword [0x7e097c]
push eax
push 0xfffffffffffffffd
push eax
push eax
push eax
push eax
push 0x10000000
push str.utinstall
push ebx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
jne 0x434360
push 8
pop eax
jmp 0x434598
push 0x3c
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0065ab80
mov eax, dword [ebp + 0x54]
add esp, 0xc
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x6c], str.runas
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x74], 0x540
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43457e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp edi, 0x4c7
je 0x434577
test edi, edi
je 0x434577
cmp edi, 3
je 0x434492
cmp edi, 0x490
je 0x434492
cmp edi, 0xa1
je 0x434492
cmp edi, 0x35
je 0x434492
cmp edi, 0x43
je 0x434492
push 0x400
lea eax, [ebp - 0x894]
push eax
push edi
call fcn.0046249e
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov esi, eax
lea eax, [ebp - 0x894]
push edi
push eax
push ebx
lea eax, [ebp]
push str._elevated_:_d___message_:__S____error_code_:_d
push eax
call fcn.004654bc
add esp, 0x14
push str.runelevatedinstall
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 3
call fcn.0040eeff
push ebx
push esi
push 0x57cd26
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp]
push eax
push 0x17
call fcn.00488d2d
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040f52f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp]
call fcn.0040f52f
push 7
jmp 0x43435a
push 0x6c0c54
xor ebx, ebx
lea eax, [ebp + 0x30]
push ebx
push eax
call fcn.0046059a
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
mov dword [ebp - 4], ebx
jae 0x4344b2
lea eax, [ebp + 0x30]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
jne 0x434551
push 0x400
lea eax, [ebp - 0x894]
push eax
push edi
call fcn.0046249e
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov esi, eax
lea eax, [ebp - 0x894]
push edi
push eax
push ebx
lea eax, [ebp + 0x18]
push str._elevated_:_d___message_:__S____error_code_:_d
push eax
call fcn.004654bc
add esp, 0x14
push str.runelevatedinstall
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0040eeff
push ebx
push esi
push 0x57cd26
lea eax, [ebp]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x18]
push eax
push 0x17
call fcn.00488d2d
push ebx
push 1
lea ecx, [ebp]
call fcn.0040f52f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040f52f
push 6
pop esi
jmp 0x434568
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
jae 0x43455d
lea eax, [ebp + 0x30]
push dword [ebp + 0x54]
push eax
call fcn.004342c8
mov esi, eax
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.004281f2
mov eax, esi
jmp 0x434598
push 4
jmp 0x43435a
cmp dword [ebp - 0x40], 0
jne 0x4345c9
mov esi, dword [ebp + 0x54]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
neg esi
sbb esi, esi
and esi, 3
lea eax, [esi + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x48]
pop ebp
ret 8
cmp esi, 0xffffffff
je 0x4345f1
cmp dword [ebp - 0x90], 0x80a9
je 0x4345ec
cmp dword [ebp - 0x90], 0x80b5
je 0x4345f4
push 0
push 0
push ebx
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov esi, eax
test esi, esi
jne 0x4345ac
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x434587
xor edi, edi
inc edi
jmp 0x4345f4
push 9
pop edi
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, edi
jmp 0x434598