Function at 0x401900
Capabilities:
Allocate or change rwx memory
Execute command
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x409018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x11f]
push 0
push eax
mov esi, ecx
mov edi, edx
mov byte [ebp - 0x120], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
lea ecx, [ebp - 0x120]
push ecx
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x40198e
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.Proc_Eror
push ecx
push 0x4062cc
push edx
call fcn.00401090
add esp, 0xc
push eax
call fcn.00401090
push str.pause
call dword [sym.imp.MSVCR100.dll_system]
add esp, 0xc
mov eax, 7
xor esi, esi
mov cl, byte [esi + str.KghnGeonbhWkU]
xor cl, al
inc eax
and eax, 0x800000ff
mov byte [ebp + esi - 0x18], cl
jns 0x4019b0
dec eax
or eax, 0xffffff00
inc eax
inc esi
cmp esi, 0xe
jl 0x401995
mov byte [ebp - 0xa], 0
mov eax, 0x25
xor esi, esi
mov dl, byte [esi + str.NCUFLF]
xor dl, al
inc eax
and eax, 0x800000ff
mov byte [ebp + esi - 0x130], dl
jns 0x4019df
dec eax
or eax, 0xffffff00
inc eax
inc esi
cmp esi, 0xc
jl 0x4019c1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x130]
push ecx
mov byte [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401b58
mov dword [ebp - 0xe], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x18], 0x6a006a
mov dword [ebp - 0x14], 0xfebabe68
mov word [ebp - 0x10], 0xb8ca
mov word [ebp - 0xa], 0xd0ff
mov byte [ebp - 8], 0xc3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401a36
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
sub eax, edx
push 0x3000
inc eax
push eax
push 0
push ebx
call esi
mov edi, eax
mov dword [ebp - 0x134], edi
test edi, edi
je 0x401b58
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401a70
sub eax, edx
push 0
inc eax
push eax
lea edx, [ebp - 0x120]
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401b58
push 0x40
push 0x3000
push 0x11
push 0
push ebx
mov dword [ebp - 0x13], edi
call esi
mov edi, eax
test edi, edi
je 0x401b58
push 0
push 0x11
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401b58
push ebx
mov ecx, edi
call fcn.004017b0
add esp, 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
lea ecx, [ecx]
push 0
push 1
push 0x406384
lea ecx, [esi + edi]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc esi
cmp esi, 0x12
jl 0x401ae0
lea eax, [ebp - 0x120]
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401b05
sub eax, edx
inc eax
test eax, eax
jle 0x401b45
mov edx, dword [ebp - 0x134]
push 0
push 1
push 0x406384
lea eax, [esi + edx]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x120]
inc esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401b37
sub eax, edx
inc eax
cmp esi, eax
jl 0x401b13
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404740
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00404740
mov esp, ebp
pop ebp
ret