Function at 0x45273c
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
sub esp, 0x354
lea ebp, [esp - 4]
mov eax, dword [0x7a6168]
xor eax, ebp
mov dword [ebp + 0x354], eax
push 0x50
mov eax, 0x69ef39
call fcn.00640806
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.00455c52
mov byte [ebp - 0xe], al
test al, al
je 0x452817
cmp byte [edi + 0xec], 0
je 0x452817
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov esi, 0x74471c
lea ecx, [ebp + 0xdc]
push esi
call fcn.0040eeff
xor ebx, ebx
lea ecx, [ebp + 0xc0]
push esi
mov dword [ebp - 4], ebx
call fcn.0040eeff
push str.outcome.failElevate
lea ecx, [ebp + 0xf8]
mov byte [ebp - 4], 1
call fcn.0040eeff
lea eax, [ebp + 0xdc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0xc0]
mov ecx, edi
push eax
push ebx
lea eax, [ebp + 0xf8]
push eax
call fcn.00451017
push ebx
push 1
lea ecx, [ebp + 0xf8]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp + 0xc0]
call fcn.0040f52f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xdc]
push ebx
push 1
call fcn.0040f52f
push ebx
mov ecx, edi
call fcn.0044d225
xor ebx, ebx
mov al, bl
mov byte [ebp - 0xd], al
cmp byte [ebp + 0x360], al
je 0x452836
mov ecx, edi
call fcn.0045590c
neg al
sbb al, al
inc al
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xe], bl
jne 0x452843
test al, al
je 0x452e5e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x452879
push ebx
push str.cannotReadCommandline
lea ecx, [ebp + 0x54]
call fcn.004577b2
push 0x7509e4
lea eax, [ebp + 0x54]
push eax
call fcn.006586e4
lea ecx, [ebp + 0x38]
call fcn.00447acd
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 4], 3
jle 0x4528e9
xor edi, edi
inc edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [esi + edi*4]
call fcn.00447aa9
sub esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, esp
push 0x74471c
call fcn.00447a60
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 3
push eax
call fcn.00449285
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.00447f9a
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 3
call fcn.00447b2e
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x452891
mov edi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
push 0x104
lea eax, [ebp + 0x14c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea ecx, [ebp]
call fcn.00447acd
cmp byte [ebp - 0xd], 0
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 6
push eax
je 0x452abe
lea ecx, [ebp + 0x114]
call fcn.00447aa9
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 0x118]
mov dword [ebp - 0x14], 0x5c
call fcn.0043fb86
mov esi, eax
lea eax, [ebp + 0x134]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [ebp + 0x118]
call fcn.004407ff
push eax
lea ecx, [ebp + 0xd8]
mov byte [ebp - 4], 8
call fcn.00447a3c
push ebx
push 1
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 0xa
call fcn.004281f2
push esi
lea ecx, [ebp + 0x118]
call fcn.0040f1e5
push esi
lea ecx, [ebp + 0x118]
call fcn.0042813d
push str.permissionsCopy
lea eax, [ebp + 0xbc]
mov ecx, edi
push eax
call fcn.00453f9b
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4529bd
add eax, 4
jmp 0x4529bf
mov eax, ebx
push eax
lea ecx, [ebp + 4]
call fcn.00427cb3
lea ecx, [ebp + 0xbc]
mov byte [ebp - 4], 0xa
call fcn.00447b2e
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004479c5
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 0xc
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 0xd], bl
call dword [eax + 0x18]
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
mov eax, dword [ebp + 0x114]
lea ecx, [ebp + 0x114]
call dword [eax + 0x18]
push 7
xor eax, eax
lea edi, [ebp + 0xf4]
cmp dword [ebp + 0x12c], 8
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x118]
mov dword [ebp + 0xf8], 2
jae 0x452a3b
lea eax, [ebp + 0x118]
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0xfc], eax
mov eax, dword [ebp + 0x20]
jae 0x452a4d
lea eax, [ebp + 0x20]
mov dword [ebp + 0x100], eax
mov eax, 0x2e14
mov word [ebp + 0x104], ax
lea eax, [ebp + 0xf4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x452a7b
push ebx
push str.exeCopyFail
jmp 0x452863
mov eax, dword [ebp]
lea ecx, [ebp]
push 0x6c7da8
call dword [eax + 0x24]
lea ecx, [ebp + 0xd8]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
lea ecx, [ebp + 0x1c]
call fcn.00447b2e
lea ecx, [ebp + 0xd8]
call fcn.00447b2e
lea ecx, [ebp + 0x114]
mov byte [ebp - 4], 6
call fcn.00447b2e
mov edi, dword [ebp - 0x20]
jmp 0x452ac7
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x44]
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0065ab80
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
mov dword [ebp - 0x5c], esi
jae 0x452ae7
lea eax, [ebp + 4]
xor esi, esi
mov dword [ebp - 0x4c], eax
inc esi
mov dword [ebp - 0x58], 0x800500
cmp byte [ebp - 0xe], 0
mov dword [ebp - 0x40], esi
je 0x452c5a
sub esp, 0x1c
mov dword [ebp - 0x50], str.runas
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x74471c
call fcn.00447a60
sub esp, 0x1c
mov byte [ebp - 4], 0xd
mov ecx, esp
push str.HYDRA_PERMISSIONS_RESTART
call fcn.00447a60
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.00449285
push eax
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xe
call dword [eax + 0x2c]
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.00447b2e
sub esp, 0x1c
lea eax, [edi + 0xf4]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004479c5
sub esp, 0x1c
mov byte [ebp - 4], 0xf
mov ecx, esp
push str.HYDRA_LOG
call fcn.00447a60
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.00449285
push eax
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x10
call dword [eax + 0x2c]
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.00447b2e
cmp dword [edi + 0x40], 0
je 0x452c61
push dword [edi + 0x40]
lea ecx, [ebp + 0x130]
call fcn.004479c5
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp + 0x134]
mov dword [ebp - 0x14], 0x5c
call fcn.0043fb86
mov ecx, dword [ebp + 0x144]
dec ecx
cmp eax, ecx
jne 0x452bf9
lea ecx, [ebp + 0x134]
call fcn.00455f40
sub esp, 0x1c
lea eax, [ebp + 0x130]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004479c5
sub esp, 0x1c
mov byte [ebp - 4], 0x12
mov ecx, esp
push str.HYDRA_HTADIR
call fcn.00447a60
lea eax, [ebp + 0x114]
mov byte [ebp - 4], 0x11
push eax
call fcn.00449285
push eax
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x13
call dword [eax + 0x2c]
lea ecx, [ebp + 0x114]
call fcn.00447b2e
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.00447b2e
jmp 0x452c61
mov dword [ebp - 0x50], 0x6c15d4
cmp byte [edi + 0xee], 0
je 0x452cbc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x74471c
call fcn.00447a60
sub esp, 0x1c
mov byte [ebp - 4], 0x14
mov ecx, esp
push str.HYDRA_CLIENT_WAS_RUNNING
call fcn.00447a60
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.00449285
push eax
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x15
call dword [eax + 0x2c]
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.00447b2e
call fcn.0044a3f4
test al, al
je 0x452d41
cmp dword [edi + 0xb0], ebx
jne 0x452d41
mov ecx, edi
call fcn.0044d989
mov ecx, str.admin
test al, al
jne 0x452ce2
mov ecx, str.standard
lea esi, [edi + 0x9c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x48]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.004479c5
sub esp, 0x1c
mov byte [ebp - 4], 0x16
mov ecx, esp
push str.HYDRA_USERTYPE
call fcn.00447a60
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.00449285
push eax
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x17
call dword [eax + 0x2c]
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.00447b2e
xor esi, esi
inc esi
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x452d4d
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x74471c
test eax, eax
jne 0x452de7
lea ecx, [ebp + 0xf8]
call fcn.0040eeff
push 0x74471c
lea ecx, [ebp + 0xc0]
mov byte [ebp - 4], 0x18
call fcn.0040eeff
push str.outcome.cancelElevate
lea ecx, [ebp + 0xdc]
mov byte [ebp - 4], 0x19
call fcn.0040eeff
lea eax, [ebp + 0xf8]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp + 0xc0]
mov ecx, edi
push eax
push 6
lea eax, [ebp + 0xdc]
push eax
call fcn.00451017
push ebx
push esi
lea ecx, [ebp + 0xdc]
call fcn.0040f52f
push ebx
push esi
lea ecx, [ebp + 0xc0]
call fcn.0040f52f
push ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xf8]
push esi
jmp 0x45280a
lea ecx, [ebp + 0x134]
call fcn.0040eeff
push 0x74471c
lea ecx, [ebp + 0x118]
mov byte [ebp - 4], 0x1b
call fcn.0040eeff
push str.outcome.elevating
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1c
call fcn.0040eeff
lea eax, [ebp + 0x134]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp + 0x118]
mov ecx, edi
push eax
push 4
lea eax, [ebp + 0x20]
push eax
call fcn.00451017
push ebx
push esi
lea ecx, [ebp + 0x20]
call fcn.0040f52f
push ebx
push esi
lea ecx, [ebp + 0x118]
call fcn.0040f52f
push ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x134]
push esi
jmp 0x45280a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x354]
xor ecx, ebp
call fcn.006407be
lea esp, [ebp + 0x358]
pop ebp
ret 4