Function at 0x420ef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4399
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0
wait
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0x100140
mov ecx, dword [ebp + 8]
call fcn.0043fc50
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0043fc50
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0043fc50
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
fld qword [0x4b03a0]
fcomp qword [eax + 0x18]
fnstsw ax
test ah, 0x41
jp 0x420fe5
mov ecx, dword [ebp + 8]
fld qword [0x4b0398]
fcomp qword [ecx + 0x18]
fnstsw ax
test ah, 1
jne 0x420fe5
push 0x4b038c
push 3
mov ecx, dword [ebp + 8]
call fcn.0045ca60
sub eax, 3
push eax
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp + 8]
call fcn.00411e90
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c]
or ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.00411fa0
add esp, 8
movzx eax, al
test eax, eax
je 0x420fe5
mov dword [ebp - 0x7c], 1
jmp 0x420fec
mov dword [ebp - 0x7c], 0
mov cl, byte [ebp - 0x7c]
mov byte [ebp - 0x5d], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x6c]
and edx, 1
je 0x42100d
and dword [ebp - 0x6c], 0xfffffffe
lea ecx, [ebp - 0x64]
call fcn.0043bb20
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x42101e
mov dword [ebp - 0x44], str.runas
jmp 0x421025
mov dword [ebp - 0x44], str.open
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42110d
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xffffffff
mov ecx, dword [ebp - 0x70]
call fcn.00420d60
call fcn.00420e80
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
push 1
lea ecx, [ebp - 0x18]
push ecx
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4210b9
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x14], 0x103
jne 0x4210b7
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4210aa
cmp dword [ebp - 0x5c], 0x102
jne 0x4210b5
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4210b9
jmp 0x4210e1
mov ecx, dword [ebp - 0x70]
call fcn.00420e10
call fcn.004861d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
sub ecx, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jge 0x42104d
cmp dword [ebp - 0x54], 0
jne 0x4210f9
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
wait
jmp 0x42113e
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffff9d
wait
jmp 0x42113e
mov eax, 0xffffff9d
wait
jmp 0x42113e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4