Function at 0x40fad0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455f90
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x40fb64
add eax, eax
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00401680
jmp 0x40fb88
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
jb 0x40fb79
mov eax, dword [ebp - 0x248]
xor ecx, ecx
mov dword [ebp - 0x238], 0
mov word [eax], cx
cmp dword [ebp - 0x238], 0
je 0x40fd78
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x288], 0x3c
mov dword [ebp - 0x284], 0x40
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], str.runas
jb 0x40fc0e
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x288]
push eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 5
mov dword [ebp - 0x268], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40fd0d
push 0xffffffffffffffff
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40fc89
push dword [ebp - 0x250]
mov esi, dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fdb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x230]
push esi
push str._EAC_Setup___Warning__Failed_to_get_exit_code_for_the_elevated_process:__i.
push eax
call fcn.00412330
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
jb 0x40fcbb
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x40fcfc
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fcf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe08
push edx
push ecx
call fcn.0041fbbf
add esp, 8
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fdb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x230]
push esi
push str._EAC_Setup___Error__Failed_to_run_the_elevated_process:__i.
push eax
call fcn.00412330
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
jb 0x40fd3f
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x40fdb0
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fda6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe0d
jmp 0x40fda6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x230]
push esi
push str._EAC_Setup___Error__Failed_to_get_the_module_name:__i.
push eax
call fcn.00412330
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
jb 0x40fd3f
jmp 0x40fd39
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x40fdec
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fde2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe0d
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
call fcn.00439d3f
int3