Function at 0x45da60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5904e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x45ded3
push 0
push 0
push 4
lea ecx, [ebp - 0x2c]
call fcn.0046a530
mov dword [ebp - 0x1c], 0
push 0
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push ebx
call fcn.00468700
add esp, 0x10
cmp dword [ebp - 0x1c], 0
jle 0x45db03
mov eax, dword [ebp - 0x28]
mov esi, 0x593534
mov ecx, esi
push 0x5b213c
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.00468e60
add esp, 8
test eax, eax
je 0x45db03
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
cmovne esi, eax
push esi
call fcn.0046b270
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0045ae10
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
test eax, eax
je 0x45ded3
cmp byte [eax], 0
je 0x45ded3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x4000100
mov dword [ebp - 0x28], eax
push 4
push 0
push 0
push eax
mov byte [ebp - 4], 3
call fcn.0046d920
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056b44b
push 0
mov edi, eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 0x24], edi
call fcn.0046d920
add esp, 0x24
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x45dbdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push str.Failed_to_open_EXE_file___u_:__s_n
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e590
add esp, 0x30
xor bl, bl
push edi
call fcn.0056b454
add esp, 4
jmp 0x45df04
test edi, edi
jne 0x45dc21
push 4
push edi
push edi
push esi
mov byte [ebp - 0x1b], 1
call fcn.0046d920
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056b44b
push 0
mov edi, eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 0x24], edi
call fcn.0046d920
mov eax, dword [ebp - 0x10]
add esp, 0x24
push eax
push edi
call fcn.0045ed80
add esp, 8
test al, al
jne 0x45dc87
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x250]
test al, al
jne 0x45dc87
push 0
push 0
lea ecx, [ebp - 0xbc]
call fcn.0045a9c0
push ebx
push str.Refusing_to_launch_unsigned_EXE:__s_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e590
add esp, 0x2c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
xor bl, bl
call fcn.0056b454
add esp, 4
jmp 0x45df04
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x4000000
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00459850
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x45dd7b
push 4
push edi
push edi
push esi
mov byte [ebp - 0x1b], 1
call fcn.0046d920
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056b44b
push 0
mov edi, eax
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x24], edi
call fcn.0046d920
mov eax, dword [ebp - 0x18]
add esp, 0x24
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov byte [ebp - 4], 3
sete byte [ebp + 0xb]
cmp byte [ebp - 0x30], 0
je 0x45ddb5
push dword [ebp - 0x3c]
call fcn.0056b454
add esp, 4
cmp byte [ebp - 0x2f], 0
je 0x45ddc6
push dword [ebp - 0x38]
call fcn.0056b454
add esp, 4
cmp byte [ebp - 0x2e], 0
je 0x45ddd7
push dword [ebp - 0x34]
call fcn.0056b454
add esp, 4
cmp byte [ebp + 0xb], 0
je 0x45de31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0xbc]
mov esi, eax
call fcn.0045a9c0
push ebx
push esi
push str.CreateProcess_EXE_launch_failed___u_:__s_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e590
add esp, 0x30
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
xor bl, bl
call fcn.0056b454
add esp, 4
jmp 0x45df04
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45dea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0xbc]
mov esi, eax
call fcn.0045a9c0
push ebx
push esi
push str.WFSingleObject_failed_waiting_on_EXE_process___u_:__s_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e590
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x30
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x4c]
call esi
push edi
xor bl, bl
call fcn.0056b454
add esp, 4
jmp 0x45df04
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x4c]
call esi
cmp dword [ebp - 0x40], 0
push edi
sete bl
call fcn.0056b454
add esp, 4
jmp 0x45df04
push ebx
push str.RunExe_was_not_provided_an_EXE_file:__s_n
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e590
add esp, 0x2c
xor bl, bl
mov dword [ebp - 4], 9
call fcn.0047fa50
push 0
push dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4