Function at 0x409770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
push ebx
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_memset]
push 0x104
lea eax, [ebp - 0x388]
push 0
push eax
call edi
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push ecx
lea edx, [ebp - 0x388]
push edx
call dword [0x63909c]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x388]
push ecx
call dword [0x63909c]
push str.___remote_debugging_port9229___profile_directory_
lea edx, [ebp - 0x388]
push edx
call dword [0x63909c]
push 0x104
lea eax, [ebp - 0x280]
push 0
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x24]
push 0xf
push ecx
call fcn.00424030
mov edx, dword [eax]
push ecx
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x280]
push 0x434bd0
push ecx
call dword [0x638f14]
mov eax, dword [ebp - 0x24]
add esp, 0x14
call fcn.00402a20
push 0x10000000
push 1
push 0
lea edx, [ebp - 0x280]
push edx
call dword [0x638f74]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40984d
push eax
push 0x10000000
push eax
push eax
push eax
lea eax, [ebp - 0x280]
push eax
call dword [0x6390ac]
mov dword [ebp - 8], eax
push 0x103
lea ecx, [ebp - 0x177]
push 0
push ecx
mov byte [ebp - 0x178], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea edx, [ebp - 0x388]
push edx
lea eax, [ebp - 0x178]
push eax
call dword [0x63909c]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x178]
push edx
call dword [0x63909c]
push 0x434b58
lea eax, [ebp - 0x178]
push eax
call dword [0x63909c]
push 0x104
lea ecx, [ebp - 0x490]
push 0
push ecx
call edi
lea edx, [ebp - 0x878]
add esp, 0xc
mov dword [ebp - 4], edx
mov edi, dword [ebp - 4]
mov ecx, 0x3e8
xor eax, eax
rep stosb byte es:[edi], al
mov eax, edx
push eax
push 0
push 0
push 0x1c
push 0
call dword [0x639084]
xor eax, eax
cmp byte [ebp - 0x878], al
je 0x4098ef
inc eax
cmp byte [ebp + eax - 0x878], 0
jne 0x4098e4
inc eax
call fcn.00402930
mov esi, eax
test esi, esi
je 0x409909
lea ecx, [ebp - 0x878]
push ecx
push esi
call dword [0x639134]
mov eax, dword [0x638c5c]
push eax
lea edx, [ebp - 0x178]
push edx
mov dword [ebp - 4], eax
call dword [0x638f3c]
mov ebx, eax
lea eax, [ebp - 0x178]
test ebx, ebx
je 0x409969
mov edi, ebx
sub edi, eax
push edi
mov ecx, eax
push ecx
push 0x6393d0
call dword [0x63902c]
mov edx, dword [ebp - 4]
lea edi, [edi + 0x6393d0]
push edx
mov byte [edi], 0
call dword [0x638fac]
add eax, ebx
push eax
push esi
push str._s_s
push edi
call dword [0x638f14]
add esp, 0x10
mov eax, 0x6393d0
push eax
lea eax, [ebp - 0x490]
push eax
call dword [0x639134]
mov eax, esi
call fcn.00402a20
push 0x40
lea ecx, [ebp - 0x6c]
push 0
push ecx
call sub.msvcrt.dll_memset
mov ebx, dword [ebp + 0x10]
xor eax, eax
lea edx, [ebp - 0x280]
add esp, 0xc
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.004248a0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [ebp - 0x490]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x409a18
push 0x1388
call dword [0x638f2c]
sub esp, 0x88
lea eax, [ebp + 0x18]
mov ecx, esp
call fcn.00401530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.004092b0
mov edi, dword [ebp - 0x10]
add esp, 0x90
call fcn.00424940
mov edx, dword [ebp - 8]
push edx
call dword [0x638fd0]
mov eax, dword [ebp + 0x94]
call fcn.00402a20
mov eax, dword [ebp + 0x60]
call fcn.00402a20
mov eax, dword [ebp + 0x54]
call fcn.00402a20
mov eax, dword [ebp + 0x48]
call fcn.00402a20
mov eax, dword [ebp + 0x3c]
call fcn.00402a20
mov eax, dword [ebp + 0x30]
call fcn.00402a20
mov eax, dword [ebp + 0x24]
call fcn.00402a20
mov eax, dword [ebp + 0x18]
call fcn.00402a20
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret