Function at 0x46b070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9231
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4da064]
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 + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
mov dword [ebp - 0x220], esi
movlpd qword [ebp - 0x27c], xmm0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
movlpd qword [ebp - 0x25c], xmm0
movlpd qword [ebp - 0x254], xmm0
movlpd qword [ebp - 0x24c], xmm0
movlpd qword [ebp - 0x244], xmm0
mov dword [ebp - 0x280], 0x44
movups xmmword [ebp - 0x23c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x46b242
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.004262e0
cmp byte [eax + 0x1c], 0
je 0x46b63e
call fcn.004262e0
test byte [eax + 0x20], 1
je 0x46b63e
call fcn.004262e0
mov esi, eax
call fcn.004039e0
test eax, eax
je 0x46b65d
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x21c]
push 0x19
push str.GetModuleFileName_failed.
call fcn.00402030
push 0xc
push str._LastError:
lea ecx, [ebp - 0x21c]
call fcn.00402030
push edi
lea ecx, [ebp - 0x21c]
call fcn.00425f50
mov dword [ebp - 0x228], eax
call fcn.004039e0
test eax, eax
je 0x46b65d
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x220]
push 0
push 0x4bb6d8
call fcn.00402030
push ecx
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push ecx
push eax
mov ecx, esi
call fcn.00426590
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x220]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b217
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x46b63e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46b63e
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x46b65d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406f20
test al, al
jne 0x46b2a9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b287
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00407090
mov dword [ebp - 4], 0xb
mov edx, esi
lea ecx, [ebp - 0x21c]
call fcn.0046da00
mov edi, eax
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46b2e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x46b3e8
call fcn.004262e0
cmp byte [eax + 0x1c], 0
je 0x46b63e
call fcn.004262e0
test byte [eax + 0x20], 1
je 0x46b63e
call fcn.004262e0
mov dword [ebp - 0x224], eax
call fcn.004039e0
test eax, eax
je 0x46b65d
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x21c]
push 0x1e
push str.VerifyDigitalSignature_failed.
call fcn.00402030
push 0xc
push str._LastError:
lea ecx, [ebp - 0x21c]
call fcn.00402030
push edi
lea ecx, [ebp - 0x21c]
call fcn.00425f50
mov dword [ebp - 0x228], eax
call fcn.004039e0
test eax, eax
je 0x46b65d
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x220]
push 0
push 0x4bb6d8
call fcn.00402030
push ecx
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x224]
push eax
call fcn.00426590
mov byte [ebp - 4], 0xf
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b3e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46b217
call fcn.004039e0
mov ecx, eax
test ecx, ecx
je 0x46b65d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x224]
mov edi, dword [ebp - 0x220]
push dword [eax]
lea eax, [ebp - 0x22c]
push dword [edi]
push str.__s___s
push eax
call fcn.00407380
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x22c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46b473
push 0xffffffffffffffff
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
jmp 0x46b61c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.004262e0
cmp byte [eax + 0x1c], 0
je 0x46b61c
call fcn.004262e0
test byte [eax + 0x20], 1
je 0x46b61c
call fcn.004262e0
mov dword [ebp - 0x228], eax
call fcn.004039e0
test eax, eax
je 0x46b65d
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x21c]
push 0xf
push str.CreateProcess__
call fcn.00402030
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
test edx, edx
je 0x46b510
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x224], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b4f0
sub ecx, dword [ebp - 0x224]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.00402030
push 0x15
push str.__with_command_line__
lea ecx, [ebp - 0x21c]
call fcn.00402030
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x46b557
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x224], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x46b537
sub edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
sar edx, 1
push edx
push eax
call fcn.00402030
push str.__failed.
lea ecx, [ebp - 0x21c]
call fcn.0040b8a0
push 0xc
push str._LastError:
lea ecx, [ebp - 0x21c]
call fcn.00402030
push edi
lea ecx, [ebp - 0x21c]
call fcn.004260d0
mov dword [ebp - 0x224], eax
call fcn.004039e0
test eax, eax
je 0x46b65d
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x220]
push 0
push 0x4bb6d8
call fcn.00402030
push ecx
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x228]
push eax
call fcn.00426590
mov byte [ebp - 4], 0x1b
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b5fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b61c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x46b63e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0047615e
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402150
int3