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

Disassembly:
push 0xffffffffffffffff
push 0x462040
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c748]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], 1
mov eax, dword [esi + 0xd8]
push eax
xor ebx, ebx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [esi + 0xdc], eax
push ebx
lea edx, [esp + 0xa0]
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
mov ecx, esi
call fcn.0040d020
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
mov dword [esp + 0x34], eax
push ebx
lea eax, [esp + 0xa0]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401840
lea ecx, [esp + 0x48]
call fcn.0040d2e0
mov ebp, dword [eax + 0x14]
shr ebp, 1
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x1c], ebp
jb 0x40c796
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004173a0
add esp, 4
mov edx, dword [esp + 0x20]
cmp dword [edx], ebx
jne 0x40c9cc
mov eax, dword [edi]
cmp eax, ebx
je 0x40c7ad
mov dword [0x482038], eax
mov eax, dword [esi + 0xd8]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x1000
push 0x512
push ebx
push eax
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [edi], eax
push ebx
lea edx, [esp + 0x84]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
lea ecx, [esp + 0x48]
call fcn.0040d2e0
mov ebp, dword [eax + 0x14]
shr ebp, 1
cmp dword [esp + 0x44], 0x10
jb 0x40c824
mov eax, dword [esp + 0x30]
push eax
call fcn.004173a0
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push edx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.0040e330
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
sub ecx, dword [edi]
push 5
sub ecx, ebp
lea eax, [ecx + edx - 5]
mov dword [esp + 0x28], eax
call fcn.004173a5
mov ecx, dword [esp + 0x28]
sub esp, 0x18
mov dword [eax + 1], ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
mov byte [eax], 0xe9
push ebx
lea edx, [esp + 0x84]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x50], eax
mov byte [ecx + 4], bl
call fcn.00401840
mov ecx, esi
call fcn.0040d020
mov ecx, dword [esi + 0xdc]
push ebx
push ebp
push eax
mov eax, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40ca89
mov ecx, dword [edi]
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0xdc]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebx
push 5
push eax
add ecx, ebp
push ecx
push edx
call edi
test eax, eax
jne 0x40c936
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0xb4]
push 0x30
push eax
push ecx
mov ecx, esi
call fcn.0041e53e
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x40c90c
mov edx, dword [esp + 0x64]
push edx
call fcn.004173a0
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x40cae1
mov eax, dword [esp + 0x80]
push eax
jmp 0x40cad9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebx
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0xdc]
push ecx
push edx
call edi
test eax, eax
jne 0x40c983
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0xb4]
push 0x30
push eax
push ecx
mov ecx, esi
call fcn.0041e53e
lea ecx, [esp + 0x60]
call fcn.004034d0
lea ecx, [esp + 0x7c]
call fcn.004034d0
jmp 0x40cae1
mov eax, dword [0x482038]
cmp eax, ebx
mov edx, dword [esp + 0x20]
mov dword [edx], 1
je 0x40c9a2
push eax
call fcn.0040e400
mov dword [0x482038], ebx
cmp dword [esp + 0x98], ebx
je 0x40c9b0
call fcn.0040cfe0
lea ecx, [esp + 0x60]
call fcn.004034d0
lea ecx, [esp + 0x7c]
call fcn.004034d0
mov eax, 1
jmp 0x40cae3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push ebx
push ebp
push eax
mov eax, dword [esi + 0xdc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40ca89
mov ecx, dword [esi + 0xd8]
mov ebp, dword [edi]
push ecx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x8000
push ebx
push ebp
push eax
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [esp + 0x98], ebx
je 0x40ca39
push 0x40005
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x8a
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov edx, dword [esp + 0x20]
mov esi, 0x10
cmp dword [esp + 0x78], esi
mov dword [edi], ebx
mov dword [edx], ebx
jb 0x40ca59
mov eax, dword [esp + 0x64]
push eax
call fcn.004173a0
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x40ca82
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004173a0
add esp, 4
mov eax, 1
jmp 0x40cae3
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0xb4]
push 0x30
push edx
push eax
mov ecx, esi
call fcn.0041e53e
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x40cab8
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004173a0
add esp, 4
cmp dword [esp + 0x94], esi
mov byte [esp + 0x64], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0xf
jb 0x40cae1
mov edx, dword [esp + 0x80]
push edx
call fcn.004173a0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x44