Function at 0x1001bb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014195d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x101b32cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.1001d180
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call fcn.100356a0
call fcn.10029c90
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x67
mov esi, esp
push 5
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.10097d90
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1001bd52
mov esi, esp
push 0xf0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.10097d90
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x1001bc9c
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.10097d90
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov esi, esp
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.10097d90
mov dword [ebp - 0x28], eax
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.10097d90
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], eax
mov esi, esp
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.10097d90
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10032df0
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x1001bd06
mov esi, esp
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
cmp esi, esp
call fcn.10097d90
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], eax
cmp dword [ebp - 0x30], 0
je 0x1001bd26
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
or ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x2c], ecx
jmp 0x1001bd50
xor edx, edx
jne 0x1001bd50
push str.0__L_CAxPropertyPageImpl___ActiveX_initializtion_failed__
push 0x1015633c
push 0
push 0x1365
push str.C:WCconsumer_bundle_2020depVendorWindowsTemplateLibraryinclude_atldlgs.h
push 2
call fcn.100b1710
add esp, 0x18
cmp eax, 1
jne 0x1001bd50
int3
jmp 0x1001bd7c
xor ecx, ecx
jne 0x1001bd7c
push str.0__L_CAxPropertyPageImpl___Cannot_find_dialog_template__
push 0x1015633c
push 0
push 0x136a
push str.C:WCconsumer_bundle_2020depVendorWindowsTemplateLibraryinclude_atldlgs.h
push 2
call fcn.100b1710
add esp, 0x18
cmp eax, 1
jne 0x1001bd7c
int3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.10097d90
mov esp, ebp
pop ebp
ret 4