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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0xc
call fcn.0052cda3
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x48
call fcn.0052cda3
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.0052cda3
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0xc
call fcn.0052cda3
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0xae1d5c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], esp
call dword [0xafe8b2]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f91e5
push 0x4f
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebx], 0xc
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebx], 0
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebx], 1
mov dword [ebp - 0x34], esp
push 0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [0xafe8b6]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f9254
push 0xf6
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x14]
add ebx, 0x2c
mov dword [ebp - 0x34], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.0052e950
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x30
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov word [ebx], 0
mov ebx, dword [ebp - 0x14]
add ebx, 0x40
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x44
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.cmd.exe__c
mov ecx, 2
call fcn.0049a183
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push eax
push 0x44
call fcn.0052cda3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 0x34]
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4f940b
push 0x25c
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004b75ee
call fcn.004b75ee
call fcn.004b75ee
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0052cda9
add esp, 4
pop eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4f94d3
push ebx
call fcn.0052cda9
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
call dword [0xafe8ba]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f94ff
push 0x2ec
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4f98cc
mov dword [ebp - 0x34], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_PeekNamedPipe]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f954d
push 0x34f
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4f9796
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x1bc
call fcn.0052dbd0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4f958a
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4f95a7
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [0xafe8be]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f95d1
push 0x3fe
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4f95f6
mov eax, 0x83295a
push eax
push 3
mov ebx, 0x19c
call fcn.0052eb30
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x80000004
je 0x4f9634
push 0x44f
push 0x4026f99
push 5
call fcn.0052cdaf
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4f9648
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push reloc.oleaut32.dll_SysStringLen
push 0
push dword [ebp + 0x14]
push 1
mov ebx, 0x9dc
call fcn.0052edb0
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x4f9763
mov ebx, dword [ebp - 0x28]
call fcn.0049a0f8
mov eax, 0
cmp eax, ecx
jl 0x4f969d
push 0x4b9
push 0x4026f99
push 1
call fcn.0052cdaf
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4f96d9
push 0x4d8
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x34], esp
push 0
push 1
mov ebx, dword [ebp - 0x28]
call fcn.0049a0f8
push ebx
push dword [ebp + 0x14]
mov eax, 0xae1d0f
test eax, eax
je 0x4f9703
add eax, 8
push eax
call dword [sym.imp.user32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f972a
push 0x515
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
test eax, eax
je 0x4f9763
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
call dword [0xafe8ba]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f975e
push 0x55b
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
jmp 0x4f98cc
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.0049a183
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f978d
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
jmp 0x4f98aa
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call dword [0xafe8c2]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4f97ce
push 0x5db
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
cmp dword [ebp - 0x30], 0x103
je 0x4f9811
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
call dword [0xafe8ba]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f9807
push 0x64e
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
jmp 0x4f98cc
cmp dword [ebp + 0xc], 0
jle 0x4f98aa
mov dword [ebp - 0x34], esp
call dword [0xafe8b2]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f9844
push 0x6fb
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 4]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x50]
fsub qword [ebp - 0x58]
fcomp qword [0x832967]
fnstsw ax
test ah, 1
jne 0x4f98aa
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
call dword [0xafe8ba]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f98a5
push 0x732
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
jmp 0x4f98cc
call fcn.004f9baf
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
push 1
call fcn.004f9c04
jmp 0x4f94ff
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
test eax, eax
je 0x4f98ea
mov eax, 0
jmp 0x4f98ed
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
je 0x4f9a7f
push 0x80000301
push 0
push 2
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4f9919
mov eax, 0x832951
push eax
push 2
mov ebx, 0x138
call fcn.0052db70
add esp, 0x1c
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0xd
push 1
mov ebx, 0x140
call fcn.0052eea0
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0xa
push 1
mov ebx, 0x140
call fcn.0052eea0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
mov ecx, 2
call fcn.0049a183
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4f9997
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4f99a7
push ebx
call fcn.0052cda9
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x34]
call fcn.0049a1df
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4f99d4
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4f99e4
push ebx
call fcn.0052cda9
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x4f9a7f
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4f9a01
mov eax, 0x832951
push eax
push 1
mov ebx, 0x130
call fcn.0052e020
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x8329a7]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00499dde
push 0x80000301
push 0
push eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4f9a4c
mov eax, 0x832951
push eax
push 2
mov ebx, 0x134
call fcn.0052e380
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f9a76
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
jmp 0x4f98fa
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call dword [0xafe8ba]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4f9ab3
push 0x988
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call dword [0xafe8ba]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4f9aea
push 0x9ab
push 0x4026f99
push 6
call fcn.0052cdaf
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4f9b06
push eax
mov ebx, eax
call fcn.0049a118
inc eax
push eax
call fcn.0052cda3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4f9b0b
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f9b2f
push ebx
call fcn.0052cda9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f9b43
push ebx
call fcn.0052cda9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f9b57
push ebx
call fcn.0052cda9
add esp, 4
pop ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4f9b7c
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4f9b8c
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.0052cda9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f9ba8
push ebx
call fcn.0052cda9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c