Function at 0x402690
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463536
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x482308]
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, ecx
mov dword [ebp - 0x330], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x32c], edi
mov dword [ebp - 0x350], 0
push 1
push str.Ghost.exe
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.00405f00
mov ax, word [ebp + 0x90]
mov byte [ebp - 4], 1
test ax, ax
jne 0x402763
lea eax, [ebp - 0x94]
push eax
call fcn.004024a0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00414c6a
test al, al
je 0x40273c
push 0xffffffffffffffff
push 0x478ad0
mov ecx, edi
call fcn.004143fa
lea ecx, [ebp - 0x94]
jmp 0x402a46
push 0
lea ecx, [ebp - 0x94]
call fcn.004145eb
movzx esi, ax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x33c], esi
mov byte [ebp - 4], 1
call fcn.00414510
jmp 0x40276c
movzx esi, ax
mov dword [ebp - 0x33c], esi
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x334]
push eax
push esi
call fcn.00404f20
test eax, eax
jne 0x402797
push 0xffffffffffffffff
push 0x478b04
mov ecx, edi
call fcn.004143fa
jmp 0x402a4b
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x334]
call fcn.00405220
test eax, eax
jne 0x4027c0
push 0xffffffffffffffff
push 0x478b24
mov ecx, edi
call fcn.004143fa
jmp 0x402a4b
push dword [ebp - 0x338]
push dword [ebp - 0x334]
call fcn.00405450
mov ecx, dword [ebp - 0x330]
movzx eax, ax
push eax
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.00404510
lea ecx, [ebp - 0x94]
call fcn.00414510
lea ecx, [ebp - 0x2a4]
call fcn.0041441e
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.0041441e
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 4
call fcn.0041441e
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 5
push str._noide
push eax
call fcn.00414a20
lea eax, [ebp - 0x220]
push str._crcignore
push eax
call fcn.00414a20
add esp, 0x10
lea ecx, [ebp - 0x220]
call fcn.00411afa
push eax
push dword [ebp - 0x32c]
mov eax, dword [ebp - 0x334]
lea ecx, [ebp + 0xc]
inc eax
push eax
call fcn.00411afa
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00411afa
push eax
lea ecx, [ebp - 0x118]
call fcn.00411afa
push eax
lea eax, [ebp - 0x19c]
push str._s__ntexact__s__clone_modepload_src__s_:1_dst_d:_d__s__sure__fx__fro__fmount
push eax
call fcn.00414a20
add esp, 0x20
lea ecx, [ebp - 0x19c]
call fcn.00411afa
xor ecx, ecx
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x12], cx
xorps xmm0, xmm0
mov ecx, 1
movlpd qword [ebp - 0x50], xmm0
mov word [ebp - 0x24], cx
lea ecx, [ebp - 0x34c]
push ecx
lea ecx, [ebp - 0x54]
movlpd qword [ebp - 0x48], xmm0
push ecx
push 0
push 0
push 0
push 0
movups xmmword [ebp - 0x34c], xmm0
mov dword [ebp - 0x28], 1
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x22], xmm0
movlpd qword [ebp - 0x1a], xmm0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402a1c
push 0xffffffffffffffff
push dword [ebp - 0x34c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x34c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x348]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34c]
call esi
cmp dword [ebp - 0x32c], 0
jne 0x402a1c
mov esi, dword [ebp - 0x33c]
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x32c]
push eax
push esi
call fcn.00405a60
test eax, eax
jne 0x402985
push 0xffffffffffffffff
push 0x478c2c
jmp 0x402a23
cmp dword [ebp - 0x32c], 5
push dword [ebp - 0x338]
mov ecx, dword [ebp - 0x330]
push esi
jbe 0x4029ae
lea eax, [ebp - 0x328]
push eax
call fcn.00403570
mov eax, 2
jmp 0x4029bf
lea eax, [ebp - 0x94]
push eax
call fcn.00403070
mov eax, 4
test al, 4
je 0x4029dd
and eax, 0xfffffffb
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x32c], eax
call fcn.00414510
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 4], 5
test al, 2
je 0x4029f3
lea ecx, [ebp - 0x328]
call fcn.00414510
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push 0x478c40
call fcn.004143fa
mov ecx, dword [ebp - 0x330]
push esi
call fcn.00403d60
mov ecx, edi
call fcn.0041441e
jmp 0x402a2a
push 0xffffffffffffffff
push 0x478c08
mov ecx, edi
call fcn.004143fa
lea ecx, [ebp - 0x19c]
call fcn.00414510
lea ecx, [ebp - 0x220]
call fcn.00414510
lea ecx, [ebp - 0x2a4]
call fcn.00414510
lea ecx, [ebp - 0x118]
call fcn.00414510
lea ecx, [ebp + 0xc]
call fcn.00414510
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.00445e0f
mov esp, ebp
pop ebp
ret 0x8c