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

Disassembly:
push ebp
sub esp, 0x354
lea ebp, [esp - 4]
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp + 0x354], eax
push 0x50
mov eax, 0x6a1112
call fcn.00642ca6
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.004560e9
mov byte [ebp - 0xe], al
test al, al
je 0x452cae
cmp byte [edi + 0xec], 0
je 0x452cae
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov esi, 0x7479ec
lea ecx, [ebp + 0xdc]
push esi
call fcn.0040f32f
xor ebx, ebx
lea ecx, [ebp + 0xc0]
push esi
mov dword [ebp - 4], ebx
call fcn.0040f32f
push str.outcome.failElevate
lea ecx, [ebp + 0xf8]
mov byte [ebp - 4], 1
call fcn.0040f32f
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.004514b6
push ebx
push 1
lea ecx, [ebp + 0xf8]
call fcn.0040f95f
push ebx
push 1
lea ecx, [ebp + 0xc0]
call fcn.0040f95f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xdc]
push ebx
push 1
call fcn.0040f95f
push ebx
mov ecx, edi
call fcn.0044d703
xor ebx, ebx
mov al, bl
mov byte [ebp - 0xd], al
cmp byte [ebp + 0x360], al
je 0x452ccd
mov ecx, edi
call fcn.00455da3
neg al
sbb al, al
inc al
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xe], bl
jne 0x452cda
test al, al
je 0x4532f5
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 0x452d10
push ebx
push str.cannotReadCommandline
lea ecx, [ebp + 0x54]
call fcn.00457c55
push 0x753cbc
lea eax, [ebp + 0x54]
push eax
call fcn.0065ab74
lea ecx, [ebp + 0x38]
call fcn.00447fdb
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 4], 3
jle 0x452d80
xor edi, edi
inc edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [esi + edi*4]
call fcn.00447fb7
sub esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, esp
push 0x7479ec
call fcn.00447f6e
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 3
push eax
call fcn.0044978f
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.004484ad
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 3
call fcn.0044803c
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x452d28
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.00447fdb
cmp byte [ebp - 0xd], 0
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 6
push eax
je 0x452f55
lea ecx, [ebp + 0x114]
call fcn.00447fb7
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.0043ffde
mov esi, eax
lea eax, [ebp + 0x134]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [ebp + 0x118]
call fcn.00440c52
push eax
lea ecx, [ebp + 0xd8]
mov byte [ebp - 4], 8
call fcn.00447f4a
push ebx
push 1
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 0xa
call fcn.004285f6
push esi
lea ecx, [ebp + 0x118]
call fcn.0040f615
push esi
lea ecx, [ebp + 0x118]
call fcn.00428541
push str.permissionsCopy
lea eax, [ebp + 0xbc]
mov ecx, edi
push eax
call fcn.00454419
mov byte [ebp - 4], 0xb
test eax, eax
je 0x452e54
add eax, 4
jmp 0x452e56
mov eax, ebx
push eax
lea ecx, [ebp + 4]
call fcn.004280b7
lea ecx, [ebp + 0xbc]
mov byte [ebp - 4], 0xa
call fcn.0044803c
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00447ed3
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 0x452ed2
lea eax, [ebp + 0x118]
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0xfc], eax
mov eax, dword [ebp + 0x20]
jae 0x452ee4
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 0x452f12
push ebx
push str.exeCopyFail
jmp 0x452cfa
mov eax, dword [ebp]
lea ecx, [ebp]
push 0x6cae28
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.0044803c
lea ecx, [ebp + 0xd8]
call fcn.0044803c
lea ecx, [ebp + 0x114]
mov byte [ebp - 4], 6
call fcn.0044803c
mov edi, dword [ebp - 0x20]
jmp 0x452f5e
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.0065d010
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
mov dword [ebp - 0x5c], esi
jae 0x452f7e
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 0x4530f1
sub esp, 0x1c
mov dword [ebp - 0x50], str.runas
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x7479ec
call fcn.00447f6e
sub esp, 0x1c
mov byte [ebp - 4], 0xd
mov ecx, esp
push str.HYDRA_PERMISSIONS_RESTART
call fcn.00447f6e
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.0044978f
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.0044803c
sub esp, 0x1c
lea eax, [edi + 0xf4]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00447ed3
sub esp, 0x1c
mov byte [ebp - 4], 0xf
mov ecx, esp
push str.HYDRA_LOG
call fcn.00447f6e
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.0044978f
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.0044803c
cmp dword [edi + 0x40], 0
je 0x4530f8
push dword [edi + 0x40]
lea ecx, [ebp + 0x130]
call fcn.00447ed3
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.0043ffde
mov ecx, dword [ebp + 0x144]
dec ecx
cmp eax, ecx
jne 0x453090
lea ecx, [ebp + 0x134]
call fcn.004563d7
sub esp, 0x1c
lea eax, [ebp + 0x130]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00447ed3
sub esp, 0x1c
mov byte [ebp - 4], 0x12
mov ecx, esp
push str.HYDRA_HTADIR
call fcn.00447f6e
lea eax, [ebp + 0x114]
mov byte [ebp - 4], 0x11
push eax
call fcn.0044978f
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.0044803c
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.0044803c
jmp 0x4530f8
mov dword [ebp - 0x50], 0x6c4654
cmp byte [edi + 0xee], 0
je 0x453153
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x7479ec
call fcn.00447f6e
sub esp, 0x1c
mov byte [ebp - 4], 0x14
mov ecx, esp
push str.HYDRA_CLIENT_WAS_RUNNING
call fcn.00447f6e
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.0044978f
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.0044803c
call fcn.0044a8fe
test al, al
je 0x4531d8
cmp dword [edi + 0xb0], ebx
jne 0x4531d8
mov ecx, edi
call fcn.0044de67
mov ecx, str.admin
test al, al
jne 0x453179
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.00447ed3
sub esp, 0x1c
mov byte [ebp - 4], 0x16
mov ecx, esp
push str.HYDRA_USERTYPE
call fcn.00447f6e
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.0044978f
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.0044803c
xor esi, esi
inc esi
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x4531e4
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x7479ec
test eax, eax
jne 0x45327e
lea ecx, [ebp + 0xf8]
call fcn.0040f32f
push 0x7479ec
lea ecx, [ebp + 0xc0]
mov byte [ebp - 4], 0x18
call fcn.0040f32f
push str.outcome.cancelElevate
lea ecx, [ebp + 0xdc]
mov byte [ebp - 4], 0x19
call fcn.0040f32f
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.004514b6
push ebx
push esi
lea ecx, [ebp + 0xdc]
call fcn.0040f95f
push ebx
push esi
lea ecx, [ebp + 0xc0]
call fcn.0040f95f
push ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xf8]
push esi
jmp 0x452ca1
lea ecx, [ebp + 0x134]
call fcn.0040f32f
push 0x7479ec
lea ecx, [ebp + 0x118]
mov byte [ebp - 4], 0x1b
call fcn.0040f32f
push str.outcome.elevating
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1c
call fcn.0040f32f
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.004514b6
push ebx
push esi
lea ecx, [ebp + 0x20]
call fcn.0040f95f
push ebx
push esi
lea ecx, [ebp + 0x118]
call fcn.0040f95f
push ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x134]
push esi
jmp 0x452ca1
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.00642c5e
lea esp, [ebp + 0x358]
pop ebp
ret 4