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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x104c
call fcn.0042f260
mov eax, dword [0x44d958]
xor eax, esp
mov dword [esp + 0x1048], eax
mov eax, dword [0x63672c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
lea ecx, [eax + 0x14da48]
mov dword [esp + 0x44], 0xe9
push edi
mov dword [esp + 0x20], ecx
lea edi, [eax + 0x1000]
lea ecx, [eax + 0x174e824]
mov word [esp + 0x4c], 0x9000
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0x7452bd]
push 0x1c
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], ecx
push eax
push edi
push dword [0x636714]
mov byte [esp + 0x5e], 0x90
call esi
mov eax, dword [0x63672c]
lea ecx, [esp + 0x2c]
mov ebx, dword [esp + 0x38]
add eax, 0x16a7000
push 0x1c
push ecx
push eax
push dword [0x636714]
mov dword [esp + 0x24], eax
call esi
mov esi, dword [esp + 0x38]
lea eax, [edi + ebx]
push 4
push 0x1000
push ebx
push 0
push dword [0x636714]
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], eax
mov dword [0x636718], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 4
push 0x1000
push esi
push 0
push dword [0x636714]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push ebx
mov dword [esp + 0x1c], eax
call fcn.004195e6
add esp, 4
mov esi, eax
push 0
push ebx
push esi
push edi
push dword [0x636714]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call edi
push 0
push ebx
push esi
push dword [esp + 0x18]
push dword [0x636714]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
call fcn.004195e1
mov ebx, dword [esp + 0x20]
push ebx
call fcn.004195e6
add esp, 8
mov esi, eax
push 0
push ebx
push esi
push dword [esp + 0x20]
push dword [0x636714]
call edi
push 0
push ebx
push esi
push dword [esp + 0x24]
push dword [0x636714]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
call fcn.004195e1
mov esi, 0x408680
lea edi, [esp + 0x54]
add esi, 6
mov ecx, 0x200
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
push 1
lea eax, [edi + 5]
push eax
push 0x800
push 4
lea eax, [esp + 0x64]
push 2
push eax
call fcn.00408240
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push 0x800
push 0
push 3
push eax
call fcn.00408240
mov esi, dword [esp + 0x48]
push 0
lea eax, [esi + ebx]
push eax
push 0x800
push 0
lea eax, [esp + 0x94]
push 5
push eax
call fcn.00408240
mov eax, dword [esp + 0x58]
add esp, 0x4c
add eax, 0xfffff000
push 0
push eax
push 0x800
push 0
lea eax, [esp + 0x60]
push 4
push eax
call fcn.00408240
push 0
push esi
push 0x800
push 0
lea eax, [esp + 0x78]
push 6
push eax
call fcn.00408240
push 0
push dword [esp + 0x4c]
lea eax, [esp + 0x88]
push 0x800
push 0
push 7
push eax
call fcn.00408240
add esp, 0x48
lea eax, [edi + 0x79]
push 1
push eax
push 0x800
push 0
lea eax, [esp + 0x60]
push 8
push eax
call fcn.00408240
add esp, 0x18
push 0x40
push 0x1000
push 0x800
push 0
push dword [0x636714]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esp + 0x10], eax
sub eax, edi
sub eax, 5
mov dword [esp + 0x49], eax
lea eax, [esp + 0x50]
push 0x800
push eax
lea eax, [esp + 0x858]
push eax
call fcn.00430930
add esp, 0xc
xor esi, esi
nop
cmp byte [esp + esi + 0x850], 0x90
jne 0x40c938
cmp byte [esp + esi + 0x851], 0x90
jne 0x40c938
cmp byte [esp + esi + 0x852], 0x90
jne 0x40c938
cmp byte [esp + esi + 0x853], 0x90
je 0x40c943
inc esi
cmp esi, 0x800
jle 0x40c910
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x48]
push 0
push 7
push eax
push edi
push dword [0x636714]
call ebx
push 0
push esi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x1c]
push dword [0x636714]
call ebx
push 0x800
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00430eb0
push 0x800
lea eax, [esp + 0x60]
mov ecx, 0x200
push eax
lea eax, [esp + 0x864]
mov esi, 0x4087a0
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00430930
add esp, 0x18
xor eax, eax
nop dword [eax]
cmp byte [esp + eax + 0x850], 0x90
jne 0x40c9d8
cmp byte [esp + eax + 0x851], 0x90
jne 0x40c9d8
cmp byte [esp + eax + 0x852], 0x90
jne 0x40c9d8
cmp byte [esp + eax + 0x853], 0x90
je 0x40c9e2
inc eax
cmp eax, 0x800
jle 0x40c9b0
xor eax, eax
push 0
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x30]
push dword [0x636714]
call ebx
push dword [esp + 0xc]
call fcn.0040ba50
add esp, 4
push 0
push 3
push 0x44d07c
push dword [esp + 0x34]
push dword [0x636714]
call ebx
mov ecx, dword [esp + 0x1054]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042eb7c
mov esp, ebp
pop ebp
ret