Function at 0x40d5d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca8a
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x43a680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], 0
push str.Kernel32.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
mov dword [ebp - 0x68], eax
xor edi, edi
mov dword [ebp - 0x84], 0xffffffff
xor esi, esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x170], 0x42e050
mov dword [ebp - 0x160], 0x42e058
call fcn.0040ace0
push edi
push edi
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x5c], 1
call fcn.0040ad60
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x164], eax
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x174], eax
mov eax, dword [ebp - 0x170]
push 3
mov dword [ebp - 4], 6
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x158]
call fcn.0040af40
xorps xmm0, xmm0
mov dword [ebp - 0x30], edi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0x20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0040a8b0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40d792
nop dword [eax]
lea eax, [ebp - 0x40]
push eax
cmp esi, edi
je 0x40d757
mov ecx, esi
call fcn.00405410
add esi, 0x18
mov dword [ebp - 0x74], esi
jmp 0x40d766
push esi
lea ecx, [ebp - 0x78]
call fcn.0040a140
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
push 0x20
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0040a8b0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x40d740
mov dword [ebp - 0x80], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x60], edi
jmp 0x40d794
xor edi, edi
push edi
lea ecx, [ebp - 0x58]
call fcn.00405410
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, esi
mov byte [ebp - 4], 0xa
sub ecx, edi
mov dword [ebp - 0x5c], 1
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x64], eax
cmp eax, 1
jbe 0x40d828
dec eax
add edi, 0x18
mov dword [ebp - 0x6c], eax
mov esi, eax
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x40d7f1
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402b00
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x40d816
push 1
push 0x42d710
lea ecx, [ebp - 0x28]
call fcn.00402b00
mov eax, dword [ebp - 0x5c]
inc eax
add edi, 0x18
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x64]
jb 0x40d7e7
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0xc0], 0x3c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0x44], 0xf
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
cmp ecx, 0xf
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb4], str.open
mov dword [ebp - 0xa8], 0x42d3c0
mov dword [ebp - 0xbc], 0x440
mov dword [ebp - 0xa4], 5
mov dword [ebp - 0x7c], 0
test eax, eax
je 0x40d95d
push str.Wow64DisableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40d95a
lea ecx, [ebp - 0x7c]
push ecx
call eax
test eax, eax
je 0x40d95a
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x40d91c
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40d928
push dword [ebp - 0x7c]
call eax
cmp dword [ebp - 0x60], 0
je 0x40d95a
push str.GetProcessId
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d94e
push dword [ebp - 0x88]
call eax
mov dword [ebp - 0x84], eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40d98e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d984
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dac8
push ecx
push edx
call fcn.004118c3
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x40d9d4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d9ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dac8
push ecx
push edx
call fcn.004118c3
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x40da1a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40da10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dac8
push ecx
push edx
call fcn.004118c3
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.0040bdb0
test edi, edi
je 0x40da77
lea ecx, [ebp - 0x78]
push ecx
push esi
push edi
call fcn.0040a0d0
mov ecx, dword [ebp - 0x80]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40da6d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dac8
push ecx
push edi
call fcn.004118c3
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40daa7
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40da9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dac8
push ecx
push edx
call fcn.004118c3
add esp, 8
mov eax, dword [ebp - 0x84]
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.004118d1
mov esp, ebp
pop ebp
ret
call fcn.0041672f
int3