Function at 0x1000a66c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x40
mov eax, 0x1001febf
call fcn.1001d218
mov dword [ebp - 0x38], ecx
movzx eax, word [ebp + 8]
push 0xf0
push eax
push dword [0x1003ab04]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
and dword [ebp - 0x40], 0
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000a6ba
push eax
push dword [0x1003ab04]
call esi
test eax, eax
je 0x1000a6ba
push eax
call ebx
mov dword [ebp - 0x40], eax
movzx ecx, word [ebp + 8]
push 5
push ecx
push dword [0x1003ab04]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000a9d8
push eax
push dword [0x1003ab04]
call esi
test eax, eax
je 0x1000a9d1
push eax
call ebx
mov edx, eax
test edx, edx
je 0x1000a9d1
movzx ecx, word [edx + 2]
xor eax, eax
mov ebx, 0xffff
mov esi, ecx
cmp cx, bx
mov dword [ebp - 0x24], ebx
push 0x10
sete al
mov dword [ebp - 0x2c], esi
cmp cx, word [ebp - 0x24]
mov dword [ebp - 0x4c], eax
pop eax
push 8
pop ebx
cmovne eax, ebx
push edx
movzx eax, word [eax + edx]
mov dword [ebp - 0x44], eax
call fcn.1000bd92
mov ebx, eax
mov eax, dword [ebp - 0x38]
pop ecx
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x3c], edx
cmp ax, word [ebp - 0x44]
jae 0x1000a9d8
cmp si, word [ebp - 0x24]
push 0x12
pop ecx
push 0x18
pop eax
cmove ecx, eax
mov dword [ebp - 0x48], ecx
mov eax, 0xffff
cmp si, ax
jne 0x1000a76d
mov eax, dword [ebx + 0x14]
jmp 0x1000a771
movzx eax, word [ebx + 0x10]
cmp word [ecx + ebx], 0x7b
jne 0x1000a956
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x40]
push eax
call fcn.1000bd53
xor ecx, ecx
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x28], ecx
and dword [ebp - 4], ecx
test edi, edi
je 0x1000a7f2
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1000a9a4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000a994
push edi
push dword [ebp - 0x24]
push edi
push eax
call fcn.10003c5a
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test edi, edi
js 0x1000a98b
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
push ecx
call fcn.1000e4e9
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x1000a930
and dword [ebp - 0x24], 0
call fcn.10010b71
mov edi, 0xffff
lea edx, [ebx + 0xc]
cmp si, di
jne 0x1000a82b
movzx eax, word [edx]
jmp 0x1000a82f
movzx eax, word [ebx + 8]
cwde
lea ecx, [ebx + 0xe]
mov dword [ebp - 0x20], eax
jne 0x1000a83d
movzx eax, word [ecx]
jmp 0x1000a841
movzx eax, word [ebx + 0xa]
cwde
mov esi, ebx
push 0x10
mov dword [ebp - 0x1c], eax
pop edi
jne 0x1000a84f
lea edx, [ebx + 0x10]
movsx eax, word [edx]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0xffff
cmp word [ebp - 0x2c], ax
jne 0x1000a866
lea ecx, [ebx + 0x12]
movsx eax, word [ecx]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, 0xffff
cmp word [ebp - 0x2c], ax
jne 0x1000a897
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 8]
mov edx, dword [ebx + 4]
xor edi, edi
jmp 0x1000a8a1
movzx ecx, word [edi + esi]
mov eax, ebx
xor edi, edi
mov edx, edi
mov eax, dword [eax]
push edi
push ecx
push edx
or eax, 0x10000
lea ecx, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
push str.AtlAxWinLic140
call fcn.1000a61a
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1000a929
mov eax, 0xffff
cmp word [ebp - 0x2c], ax
jne 0x1000a8e4
cmp dword [ebx], 0
je 0x1000a8e4
push dword [ebx]
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
push edi
push 0x1002aea0
push edi
push edi
push dword [ebp - 0x28]
add eax, ebx
push eax
call fcn.1000aaa7
mov edi, eax
test edi, edi
js 0x1000a9bf
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp word [ebp - 0x3c], cx
push 0x13
push ecx
push ecx
push ecx
push ecx
cmove eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x30], esi
jmp 0x1000a930
call fcn.10009c62
mov edi, eax
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 6
test eax, eax
je 0x1000a94d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
jmp 0x1000a969
test dx, dx
je 0x1000a969
push 2
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x4c]
push ebx
call fcn.1000be23
mov edx, dword [ebp - 0x3c]
mov ebx, eax
inc edx
pop ecx
pop ecx
mov dword [ebp - 0x3c], edx
cmp dx, word [ebp - 0x44]
jae 0x1000a9d8
mov ecx, dword [ebp - 0x48]
jmp 0x1000a75e
mov dword [ebp - 4], 2
jmp 0x1000a9b0
call fcn.10009c62
mov edi, eax
mov dword [ebp - 4], 1
jmp 0x1000a9b0
mov edi, 0x8007000e
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000a9d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1000a9d8
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 5
jmp 0x1000a9b0
call fcn.10009c62
mov edi, eax
mov eax, edi
call fcn.1001d1c7
ret 4