Function at 0x469151
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
push 0x40f354
mov dword [ebp - 8], edx
xor esi, esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x4691d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x46918a
movzx esi, si
or esi, 0x80070000
mov eax, dword [section..data]
cmp eax, section..data
je 0x46937c
test byte [eax + 0x1c], 1
je 0x46937c
cmp byte [eax + 0x19], 2
jb 0x46937c
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x40f87c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
pop ecx
call fcn.004238e7
jmp 0x46937c
push 0x40f370
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40f390
mov edi, eax
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x46933a
test eax, eax
je 0x46933a
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push esi
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x24]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov edi, dword [ebp - 4]
mov ecx, edi
push eax
call dword [0x5035f0]
call edi
test eax, eax
je 0x4692fd
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push 0x10
push 1
push esi
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4692a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x46926d
movzx esi, si
or esi, 0x80070000
mov eax, dword [section..data]
cmp eax, section..data
je 0x4692b8
test byte [eax + 0x1c], 1
je 0x4692b8
cmp byte [eax + 0x19], 2
jb 0x4692b8
call fcn.0042386b
push edi
push eax
mov eax, dword [section..data]
mov edx, 0x40f87c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf
pop ecx
call fcn.004330da
jmp 0x4692b8
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov ecx, edi
call dword [0x5035f0]
call edi
test eax, eax
jne 0x469375
mov eax, dword [section..data]
cmp eax, section..data
je 0x469333
test byte [eax + 0x1c], 1
je 0x469333
cmp byte [eax + 0x19], 2
jb 0x469333
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
jmp 0x469328
mov eax, dword [section..data]
cmp eax, section..data
je 0x469333
test byte [eax + 0x1c], 1
je 0x469333
cmp byte [eax + 0x19], 2
jb 0x469333
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x11
mov edx, 0x40f87c
pop ecx
call fcn.004238e7
mov esi, 0x80004005
jmp 0x469375
mov esi, 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x469375
test byte [eax + 0x1c], 1
je 0x469375
cmp byte [eax + 0x19], 2
jb 0x469375
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x40f87c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
pop ecx
call fcn.004238e7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret