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

Disassembly:
push ebp
sub esp, 0x354
lea ebp, [esp - 4]
mov eax, dword [0x7990a8]
xor eax, ebp
mov dword [ebp + 0x354], eax
push 0x50
mov eax, 0x6960bf
call fcn.00637b86
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.004540b4
mov byte [ebp - 0xe], al
test al, al
je 0x450c60
cmp byte [edi + 0xec], 0
je 0x450c60
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov esi, 0x73938c
lea ecx, [ebp + 0xdc]
push esi
call fcn.0040d4cf
xor ebx, ebx
lea ecx, [ebp + 0xc0]
push esi
mov dword [ebp - 4], ebx
call fcn.0040d4cf
push str.outcome.failElevate
lea ecx, [ebp + 0xf8]
mov byte [ebp - 4], 1
call fcn.0040d4cf
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.0044f451
push ebx
push 1
lea ecx, [ebp + 0xf8]
call fcn.0040daff
push ebx
push 1
lea ecx, [ebp + 0xc0]
call fcn.0040daff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xdc]
push ebx
push 1
call fcn.0040daff
push ebx
mov ecx, edi
call fcn.0044b725
xor ebx, ebx
mov al, bl
mov byte [ebp - 0xd], al
cmp byte [ebp + 0x360], al
je 0x450c7f
mov ecx, edi
call fcn.00453d6e
neg al
sbb al, al
inc al
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xe], bl
jne 0x450c8c
test al, al
je 0x4512a7
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 0x450cc2
push ebx
push str.cannotReadCommandline
lea ecx, [ebp + 0x54]
call fcn.00455b8b
push 0x74575c
lea eax, [ebp + 0x54]
push eax
call fcn.0064fa34
lea ecx, [ebp + 0x38]
call fcn.00446045
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 4], 3
jle 0x450d32
xor edi, edi
inc edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [esi + edi*4]
call fcn.00446021
sub esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, esp
push 0x73938c
call fcn.00445fd8
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 3
push eax
call fcn.004477be
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.004464f2
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 3
call fcn.004460a6
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x450cda
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.00446045
cmp byte [ebp - 0xd], 0
lea eax, [ebp + 0x14c]
mov byte [ebp - 4], 6
push eax
je 0x450f07
lea ecx, [ebp + 0x114]
call fcn.00446021
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.0043e128
mov esi, eax
lea eax, [ebp + 0x134]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [ebp + 0x118]
call fcn.0043ed9c
push eax
lea ecx, [ebp + 0xd8]
mov byte [ebp - 4], 8
call fcn.00445fb4
push ebx
push 1
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 0xa
call fcn.004267c2
push esi
lea ecx, [ebp + 0x118]
call fcn.0040d7b5
push esi
lea ecx, [ebp + 0x118]
call fcn.0042670d
push str.permissionsCopy
lea eax, [ebp + 0xbc]
mov ecx, edi
push eax
call fcn.004523e4
mov byte [ebp - 4], 0xb
test eax, eax
je 0x450e06
add eax, 4
jmp 0x450e08
mov eax, ebx
push eax
lea ecx, [ebp + 4]
call fcn.00426283
lea ecx, [ebp + 0xbc]
mov byte [ebp - 4], 0xa
call fcn.004460a6
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00445f3d
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 0x450e84
lea eax, [ebp + 0x118]
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0xfc], eax
mov eax, dword [ebp + 0x20]
jae 0x450e96
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 0x450ec4
push ebx
push str.exeCopyFail
jmp 0x450cac
mov eax, dword [ebp]
lea ecx, [ebp]
push 0x6bdb00
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.004460a6
lea ecx, [ebp + 0xd8]
call fcn.004460a6
lea ecx, [ebp + 0x114]
mov byte [ebp - 4], 6
call fcn.004460a6
mov edi, dword [ebp - 0x20]
jmp 0x450f10
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.00651ed0
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
mov dword [ebp - 0x5c], esi
jae 0x450f30
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 0x4510a3
sub esp, 0x1c
mov dword [ebp - 0x50], str.runas
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x73938c
call fcn.00445fd8
sub esp, 0x1c
mov byte [ebp - 4], 0xd
mov ecx, esp
push str.HYDRA_PERMISSIONS_RESTART
call fcn.00445fd8
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.004477be
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.004460a6
sub esp, 0x1c
lea eax, [edi + 0xf4]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00445f3d
sub esp, 0x1c
mov byte [ebp - 4], 0xf
mov ecx, esp
push str.HYDRA_LOG
call fcn.00445fd8
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.004477be
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.004460a6
cmp dword [edi + 0x40], 0
je 0x4510aa
push dword [edi + 0x40]
lea ecx, [ebp + 0x130]
call fcn.00445f3d
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.0043e128
mov ecx, dword [ebp + 0x144]
dec ecx
cmp eax, ecx
jne 0x451042
lea ecx, [ebp + 0x134]
call fcn.004543a2
sub esp, 0x1c
lea eax, [ebp + 0x130]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00445f3d
sub esp, 0x1c
mov byte [ebp - 4], 0x12
mov ecx, esp
push str.HYDRA_HTADIR
call fcn.00445fd8
lea eax, [ebp + 0x114]
mov byte [ebp - 4], 0x11
push eax
call fcn.004477be
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.004460a6
lea ecx, [ebp + 0x130]
mov byte [ebp - 4], 6
call fcn.004460a6
jmp 0x4510aa
mov dword [ebp - 0x50], 0x6b7324
cmp byte [edi + 0xee], 0
je 0x451105
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x73938c
call fcn.00445fd8
sub esp, 0x1c
mov byte [ebp - 4], 0x14
mov ecx, esp
push str.HYDRA_CLIENT_WAS_RUNNING
call fcn.00445fd8
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.004477be
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.004460a6
call fcn.0044892d
test al, al
je 0x45118a
cmp dword [edi + 0xb0], ebx
jne 0x45118a
mov ecx, edi
call fcn.0044be89
mov ecx, str.admin
test al, al
jne 0x45112b
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.00445f3d
sub esp, 0x1c
mov byte [ebp - 4], 0x16
mov ecx, esp
push str.HYDRA_USERTYPE
call fcn.00445fd8
lea eax, [ebp + 0x130]
mov byte [ebp - 4], 6
push eax
call fcn.004477be
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.004460a6
xor esi, esi
inc esi
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x451196
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x73938c
test eax, eax
jne 0x451230
lea ecx, [ebp + 0xf8]
call fcn.0040d4cf
push 0x73938c
lea ecx, [ebp + 0xc0]
mov byte [ebp - 4], 0x18
call fcn.0040d4cf
push str.outcome.cancelElevate
lea ecx, [ebp + 0xdc]
mov byte [ebp - 4], 0x19
call fcn.0040d4cf
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.0044f451
push ebx
push esi
lea ecx, [ebp + 0xdc]
call fcn.0040daff
push ebx
push esi
lea ecx, [ebp + 0xc0]
call fcn.0040daff
push ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xf8]
push esi
jmp 0x450c53
lea ecx, [ebp + 0x134]
call fcn.0040d4cf
push 0x73938c
lea ecx, [ebp + 0x118]
mov byte [ebp - 4], 0x1b
call fcn.0040d4cf
push str.outcome.elevating
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1c
call fcn.0040d4cf
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.0044f451
push ebx
push esi
lea ecx, [ebp + 0x20]
call fcn.0040daff
push ebx
push esi
lea ecx, [ebp + 0x118]
call fcn.0040daff
push ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x134]
push esi
jmp 0x450c53
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.00637b3e
lea esp, [ebp + 0x358]
pop ebp
ret 4