Function at 0x534d20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x648ede
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xb8]
mov esi, dword [ebp + 0xc]
push eax
call fcn.005226b0
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.00529620
add esp, 8
lea ecx, [ebp - 0x34]
push 0x6678c8
call fcn.00522860
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00529560
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00522a50
lea ecx, [ebp - 0x94]
call fcn.00522a20
test byte [ebp + 0x14], 5
mov byte [ebp - 4], 2
jne 0x534f5b
push 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 4
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 6
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 7
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 8
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xa
call fcn.00527220
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x134]
call fcn.00526e80
push 0x6678cc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.00522860
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00528ba0
add esp, 0x30
lea ecx, [ebp - 0x34]
call fcn.00522a50
lea ecx, [ebp - 0x134]
call fcn.005272e0
lea ecx, [ebp - 0x16c]
call fcn.005272e0
lea ecx, [ebp - 0x1a4]
call fcn.005272e0
lea ecx, [ebp - 0x1dc]
call fcn.005272e0
lea ecx, [ebp - 0x214]
call fcn.005272e0
lea ecx, [ebp - 0x24c]
call fcn.005272e0
lea ecx, [ebp - 0x284]
call fcn.005272e0
lea ecx, [ebp - 0x2bc]
call fcn.005272e0
lea ecx, [ebp - 0xf0]
call fcn.005272e0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.005272e0
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x534fba
cmp dword [esi], 0
je 0x534fb2
lea ecx, [ebp - 0x94]
call fcn.0046ee30
test eax, eax
jle 0x534fa5
push 0x6603d0
lea ecx, [ebp - 0x34]
call fcn.00522860
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x94]
call fcn.00522b80
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00522a50
push dword [esi]
lea ecx, [ebp - 0x94]
call fcn.00522b80
add esi, 8
cmp esi, dword [edi + 4]
jne 0x534f65
mov eax, dword [ebp + 0x14]
mov esi, eax
and esi, 4
test al, 1
je 0x53502b
lea ecx, [ebp - 0xb8]
call fcn.00522e30
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x2c0], eax
call fcn.00522e30
mov dword [ebp - 0x2c4], eax
mov edi, str.open
test esi, esi
je 0x535009
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov ecx, str.RunAs
mov eax, dword [ebp - 0x2c4]
cmovne ecx, edi
mov edi, ecx
push 1
push 0
push eax
push dword [ebp - 0x2c0]
push edi
call fcn.00492730
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 1
jmp 0x53522c
test esi, esi
je 0x5350c7
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0xb8]
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x68], 0
call fcn.00522e30
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x60], eax
call fcn.00522e30
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov edx, str.RunAs
mov ecx, str.open
lea eax, [ebp - 0x70]
cmove ecx, edx
push eax
mov dword [ebp - 0x64], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x53522a
cmp dword [ebp - 0x50], 0x20
jbe 0x53522a
mov esi, dword [ebp - 0x38]
jmp 0x53515a
lea ecx, [ebp - 0x94]
call fcn.00522e30
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0xfc], 0x44
push ecx
lea ecx, [ebp - 0xfc]
xorps xmm0, xmm0
push ecx
push 0
push 0
push 0x4000210
push 0
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0xf8], xmm0
movlpd qword [ebp - 0xf0], xmm0
movlpd qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd8], xmm0
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
movups xmmword [ebp - 0x2d4], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x53522a
mov esi, dword [ebp - 0x2d4]
test esi, esi
je 0x53522a
call fcn.00492730
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x535213
and dword [ebp + 0x14], 2
je 0x535184
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push esi
call edi
cmp eax, 0x102
jne 0x5351f1
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x5351e5
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
je 0x5351d1
cmp eax, 0x8000
jb 0x5351c2
cmp eax, 0xc000
jb 0x5351d1
push dword [ebp - 0x2c]
call fcn.00493050
add esp, 4
test eax, eax
jne 0x5351e5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push esi
call edi
cmp eax, 0x102
je 0x535196
cmp dword [ebp + 0x14], 0
je 0x53521c
push 9
push dword [ebp - 0x2c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x53522c
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x53522c
xor esi, esi
lea ecx, [ebp - 0x94]
call fcn.00522a50
lea ecx, [ebp - 0xb8]
call fcn.00522a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret