Function at 0x45c1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9f47
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4d8368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xbc], 0
test esi, esi
je 0x45c2e4
cmp dword [esi], 0x3c
jne 0x45c2e4
test byte [esi + 4], 0xc
jne 0x45c423
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45c2e4
cmp word [eax], 0
je 0x45c2e4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45c2e4
cmp word [eax], 0
je 0x45c2e4
push eax
lea ecx, [ebp - 0x28]
call fcn.00403470
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push str..exe
push eax
mov dword [ebp - 0xbc], 1
call fcn.0045e970
add esp, 8
test al, al
je 0x45c2bb
push str.open
push dword [esi + 0xc]
call fcn.00486380
add esp, 8
test eax, eax
je 0x45c2b7
push str.runas
push dword [esi + 0xc]
call fcn.00486380
add esp, 8
test eax, eax
jne 0x45c2bb
mov bl, 1
jmp 0x45c2bd
xor bl, bl
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00402320
mov edx, dword [esi + 0x10]
test bl, bl
je 0x45c302
push edx
call fcn.0045c920
add esp, 4
test eax, eax
jne 0x45c423
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465060
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x45c2e4
cmp word [edx], 0
je 0x45c2e4
mov ecx, edx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c325
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402e10
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045ea90
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0045e770
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.0045f690
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.00402320
lea ecx, [ebp - 0x70]
call fcn.00402320
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x45c3bf
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c3b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c46f
push edx
push ecx
call fcn.00464df3
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 7
call fcn.0045ebd0
add esp, 4
test al, al
je 0x45c40a
lea eax, [ebp - 0x28]
push eax
call fcn.0045eb90
add esp, 4
test al, al
je 0x45c40a
lea eax, [ebp - 0x28]
push eax
call fcn.0045ebf0
add esp, 4
test al, al
jne 0x45c40a
mov edi, 1
jmp 0x45c40c
xor edi, edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00402320
test edi, edi
je 0x45c2e4
push str.kSafeRunProcess
lea ecx, [ebp - 0x28]
call fcn.00403470
push dword [esi + 0x14]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 8
push dword [esi + 0x10]
lea ecx, [ebp - 0xb8]
push eax
call fcn.0045bcf0
lea ecx, [ebp - 0x28]
call fcn.00402320
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.0045c0b0
mov eax, esi
jmp 0x45c2e6
call fcn.00485d39
int3