Function at 0x401be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp + 8]
push eax
push 1
mov dword [ebp - 0x814], ecx
mov ecx, dword [ebp + 0x1c]
push 0x43a
mov dword [ebp - 0x810], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x401c40
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402024
mov esp, ebp
pop ebp
ret 0x1c
push ebx
push edi
lea eax, [ebp - 0x808]
mov dword [ebp - 0x82c], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
push eax
movq qword [ebp - 0x828], xmm0
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x80c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401da5
lea eax, [ebp - 0x80c]
push eax
push esi
call ebx
test eax, eax
je 0x401da5
mov eax, dword [ebp - 0x808]
cmp eax, dword [ebp - 0x80c]
jne 0x401da5
mov eax, dword [ebp - 0x81c]
mov eax, dword [eax + 4]
test eax, eax
je 0x401e5c
cmp dword [ebp - 0x82c], 0x10
jb 0x401e5c
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x401e5c
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DllAttach
push eax
call ebx
test eax, eax
je 0x401e5c
lea ecx, [ebp - 0x82c]
push ecx
push dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
test eax, eax
je 0x401e5c
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x401e5c
mov ecx, dword [ebp - 0x818]
mov edx, 4
push 0
push dword [ebp + 0x20]
push dword [ebp - 0x810]
push dword [ebp + 0x18]
push dword [ebp - 0x814]
push dword [edx + ecx]
push esi
call eax
add esp, 0x1c
cmp dword [ebp - 0x82c], 0
je 0x401e5c
mov eax, dword [ebp - 0x820]
test eax, eax
je 0x401d81
lea ecx, [ebp - 0x82c]
push ecx
call eax
add esp, 4
mov dword [ebp - 0x820], 0
mov eax, dword [ebp - 0x828]
test eax, eax
je 0x401e5c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x828], 0
jmp 0x401e5c
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call sub.ntdll.dll_memset
push dword [ebp - 0x810]
mov ecx, dword [ebp - 0x818]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x81c]
push dword [ebp - 0x814]
push dword [ecx]
push esi
push dword [eax]
lea eax, [ebp - 0x804]
push str.__s__0x_08x___s____s__0x_p___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
lea eax, [ebp - 0x87c]
mov dword [ebp - 0x880], 0x44
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0x38
lea eax, [ebp - 0x83c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x83c], xmm0
push eax
lea eax, [ebp - 0x880]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401e5c
push 0xffffffffffffffff
push dword [ebp - 0x83c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x838]
call edi
push dword [ebp - 0x83c]
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00402024
mov esp, ebp
pop ebp
ret 0x1c