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

Disassembly:
push 0xffffffffffffffff
push 0x4628e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c748]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov esi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], 1
mov eax, dword [esi + 0xe0]
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 + 0x34], esp
push 0xffffffffffffffff
mov dword [esi + 0xf0], eax
push ebx
lea edx, [esp + 0xa8]
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004037d0
mov ecx, esi
call fcn.0040e270
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
mov dword [esp + 0x38], eax
push ebx
lea eax, [esp + 0xa8]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004037d0
lea ecx, [esp + 0x50]
call fcn.0040e530
mov ebp, dword [eax + 0x14]
shr ebp, 1
cmp dword [esp + 0x4c], 0x10
jb 0x40dbd2
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00418835
add esp, 4
mov edx, dword [esp + 0x24]
cmp dword [edx], ebx
mov dword [esp + 0x28], ebx
jne 0x40de7f
cmp dword [esp + 0xa4], ebx
jne 0x40dc24
mov eax, dword [edi]
cmp eax, ebx
je 0x40dbf5
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xe0]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x1000
push 0x800
push ebx
push eax
mov dword [esi + 0xf0], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [edi], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004037d0
lea ecx, [esp + 0x50]
call fcn.0040e530
mov eax, dword [eax + 0x14]
shr eax, 1
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x20], eax
jb 0x40dc70
mov eax, dword [esp + 0x38]
push eax
call fcn.00418835
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, dword [edi]
push edx
mov eax, ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f700
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
sub ecx, dword [edi]
push 5
sub ecx, dword [esp + 0x24]
lea edx, [ecx + ebp - 5]
mov dword [esp + 0x30], edx
call fcn.00418830
mov ecx, dword [esp + 0x30]
sub esp, 0x18
mov dword [eax + 1], ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
mov byte [eax], 0xe9
push ebx
lea edx, [esp + 0x8c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x58], eax
mov byte [ecx + 4], bl
call fcn.004037d0
mov ecx, esi
call fcn.0040e270
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
push ebx
push ecx
push eax
mov eax, dword [esi + 0xf0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40dd64
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0xbc]
push 0x30
push ecx
push edx
mov ecx, esi
call fcn.0041efe2
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0x40dd37
mov eax, dword [esp + 0x6c]
push eax
call fcn.00418835
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40dfa0
mov ecx, dword [esp + 0x88]
push ecx
jmp 0x40df98
mov eax, dword [edi]
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xf0]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebx
push 5
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x40dde5
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xbc]
push 0x30
push edx
push eax
mov ecx, esi
call fcn.0041efe2
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0x40ddb8
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00418835
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40dfa0
mov edx, dword [esp + 0x88]
push edx
jmp 0x40df98
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push ebx
push ebp
push eax
mov eax, dword [esi + 0xf0]
push edx
push eax
call edi
test eax, eax
jne 0x40de31
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0xbc]
push 0x30
push ecx
push edx
mov ecx, esi
call fcn.0041efe2
lea ecx, [esp + 0x68]
call fcn.004033c0
lea ecx, [esp + 0x84]
call fcn.004033c0
jmp 0x40dfa0
mov eax, dword [esp + 0x24]
mov dword [eax], 1
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x40de52
cmp dword [esp + 0xa4], ebx
jne 0x40de52
push eax
call fcn.0040f780
cmp dword [esp + 0xa0], ebx
je 0x40de60
call fcn.0040e230
lea ecx, [esp + 0x68]
call fcn.004033c0
lea ecx, [esp + 0x84]
call fcn.004033c0
mov eax, 1
jmp 0x40dfa2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push ebx
push ebp
push ecx
mov ecx, dword [esi + 0xf0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40df42
mov edx, dword [esi + 0xe0]
mov ebp, dword [edi]
push edx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x8000
push ebx
push ebp
push eax
mov dword [esi + 0xf0], eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [esp + 0xa0], ebx
je 0x40deec
push 0x40005
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x8a
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov eax, dword [esp + 0x24]
mov esi, 0x10
cmp dword [esp + 0x80], esi
mov dword [edi], ebx
mov dword [eax], ebx
jb 0x40df0f
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00418835
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40df3b
mov edx, dword [esp + 0x88]
push edx
call fcn.00418835
add esp, 4
mov eax, 1
jmp 0x40dfa2
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0xbc]
push 0x30
push eax
push ecx
mov ecx, esi
call fcn.0041efe2
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0x40df74
mov edx, dword [esp + 0x6c]
push edx
call fcn.00418835
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40dfa0
mov eax, dword [esp + 0x88]
push eax
call fcn.00418835
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x48