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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510519
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0
call fcn.004e9b70
add esp, 4
test eax, eax
je 0x4e98e1
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e9403
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403a70
xor eax, eax
mov byte [ebp - 4], 1
push 0x40
push eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x144], 0x44
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0x104
jb 0x4e947e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x104
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x4e9490
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.0041a550
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edx, 8
cmovae ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e94b4
mov eax, dword [ebp - 0x18]
sub ecx, edi
sar ecx, 1
cmp ecx, eax
ja 0x4e94de
cmp edx, 8
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, esi
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4e94eb
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041a550
mov edi, dword [ebp - 0xd8]
test edi, edi
je 0x4e9563
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4e98fd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x5204dc
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x88]
call fcn.00423560
push edi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xdc], 9
push eax
call fcn.0040e0e0
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 3
mov ebx, 0xb
jmp 0x4e9576
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.004133c0
mov esi, eax
mov ebx, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4e9605
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4e95bb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e95b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e96ef
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
test bl, 4
je 0x4e965b
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x4e9647
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e963d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e96ef
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 2
test bl, 2
je 0x4e96b4
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x4e96a0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e9696
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e96ef
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x4e96ff
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x4e96ff
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e96f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e96f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push 0x1000
lea ecx, [ebp - 0x40]
call fcn.00412cd0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0xf
cmovae esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x58], 0
push str.kSafeRunProcess
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00403a70
push edi
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd0]
call fcn.00452ca0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4e9794
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e978a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e98cf
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push 2
lea ecx, [ebp - 0xd4]
call fcn.004eb340
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0xe0]
lea eax, [ebp - 0x100]
cmovae ecx, dword [ebp - 0x40]
test ebx, ebx
mov edx, dword [ebp - 0xe4]
cmovne eax, ebx
test edx, edx
push eax
lea eax, [ebp - 0x144]
cmovne eax, edx
push eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push 0
push ecx
push dword [ebp - 0xf0]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x4e9813
test ebx, ebx
jne 0x4e9813
push dword [ebp - 0x100]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xfc]
call esi
lea ecx, [ebp - 0xd4]
call fcn.004eb3e0
cmp dword [ebp - 0xc0], 0
mov byte [ebp - 4], 7
je 0x4e9838
push 1
lea ecx, [ebp - 0xd0]
call fcn.00458610
lea ecx, [ebp - 0xa0]
call fcn.00403430
lea ecx, [ebp - 0xb8]
call fcn.00403430
lea ecx, [ebp - 0xd0]
call fcn.00403430
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4e988f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e9885
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e98cf
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4e98df
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e98d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e98d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret
call fcn.00403870
int3