Function at 0x46c6e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab561
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4db064]
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 0x46c8b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.00427020
cmp byte [eax + 0x1c], 0
je 0x46ccae
call fcn.00427020
test byte [eax + 0x20], 1
je 0x46ccae
call fcn.00427020
mov esi, eax
call fcn.00404130
test eax, eax
je 0x46cccd
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.004021c0
push 0xc
push str._LastError:
lea ecx, [ebp - 0x21c]
call fcn.004021c0
push edi
lea ecx, [ebp - 0x21c]
call fcn.00426bf0
mov dword [ebp - 0x228], eax
call fcn.00404130
test eax, eax
je 0x46cccd
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 0x4bc000
call fcn.004021c0
push ecx
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push ecx
push eax
mov ecx, esi
call fcn.00427310
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 0x46c887
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 0x46ccae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46ccae
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x46cccd
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.004031b0
test al, al
jne 0x46c919
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c8f7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403320
mov dword [ebp - 4], 0xb
mov edx, esi
lea ecx, [ebp - 0x21c]
call fcn.0046f070
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 0x46c956
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x46ca58
call fcn.00427020
cmp byte [eax + 0x1c], 0
je 0x46ccae
call fcn.00427020
test byte [eax + 0x20], 1
je 0x46ccae
call fcn.00427020
mov dword [ebp - 0x224], eax
call fcn.00404130
test eax, eax
je 0x46cccd
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.004021c0
push 0xc
push str._LastError:
lea ecx, [ebp - 0x21c]
call fcn.004021c0
push edi
lea ecx, [ebp - 0x21c]
call fcn.00426bf0
mov dword [ebp - 0x228], eax
call fcn.00404130
test eax, eax
je 0x46cccd
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 0x4bc000
call fcn.004021c0
push ecx
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x224]
push eax
call fcn.00427310
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 0x46ca53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46c887
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x46cccd
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.00407900
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 0x46cae3
push 0xffffffffffffffff
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
jmp 0x46cc8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.00427020
cmp byte [eax + 0x1c], 0
je 0x46cc8c
call fcn.00427020
test byte [eax + 0x20], 1
je 0x46cc8c
call fcn.00427020
mov dword [ebp - 0x228], eax
call fcn.00404130
test eax, eax
je 0x46cccd
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.004021c0
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
test edx, edx
je 0x46cb80
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x224], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46cb60
sub ecx, dword [ebp - 0x224]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.004021c0
push 0x15
push str.__with_command_line__
lea ecx, [ebp - 0x21c]
call fcn.004021c0
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x46cbc7
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x224], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x46cba7
sub edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
sar edx, 1
push edx
push eax
call fcn.004021c0
push str.__failed.
lea ecx, [ebp - 0x21c]
call fcn.0040bef0
push 0xc
push str._LastError:
lea ecx, [ebp - 0x21c]
call fcn.004021c0
push edi
lea ecx, [ebp - 0x21c]
call fcn.00426e30
mov dword [ebp - 0x224], eax
call fcn.00404130
test eax, eax
je 0x46cccd
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 0x4bc000
call fcn.004021c0
push ecx
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x228]
push eax
call fcn.00427310
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 0x46cc6b
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 0x46cc8c
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 0x46ccae
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.00477280
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004022e0
int3