Function at 0x1002bda3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x44
mov eax, 0x100bb554
call fcn.1005882b
mov dword [ebp - 0x44], ecx
movzx eax, word [ebp + 8]
push 0xf0
push eax
push dword [0x1011fbe8]
call dword [sym.imp.kernel32.dll_FindResourceW]
and dword [ebp - 0x40], 0
xor edi, edi
mov esi, dword [sym.imp.kernel32.dll_LockResource]
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1002bdf1
push eax
push dword [0x1011fbe8]
call ebx
test eax, eax
je 0x1002bdf1
push eax
call esi
mov dword [ebp - 0x40], eax
movzx ecx, word [ebp + 8]
push 5
push ecx
push dword [0x1011fbe8]
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x1002c0e7
push eax
push dword [0x1011fbe8]
call ebx
test eax, eax
je 0x1002c0e0
push eax
call esi
mov esi, eax
test esi, esi
je 0x1002c0e0
movzx ecx, word [esi + 2]
mov edx, 0xffff
mov eax, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp cx, dx
push esi
sete al
mov dword [ebp - 0x50], eax
call fcn.1000627d
push esi
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
call fcn.1000651d
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x44]
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 - 0x48]
jae 0x1002c0e7
mov esi, dword [ebp - 0x2c]
cmp si, word [ebp - 0x38]
push 0x12
pop ecx
push 0x18
pop eax
cmove ecx, eax
mov dword [ebp - 0x38], ecx
mov eax, 0xffff
cmp word [ebp - 0x4c], ax
jne 0x1002bea4
mov eax, dword [ebx + 0x14]
jmp 0x1002bea8
movzx eax, word [ebx + 0x10]
cmp word [ecx + ebx], 0x7b
jne 0x1002c09f
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x40]
push eax
call fcn.100064df
xor ecx, ecx
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x24], ecx
and dword [ebp - 4], ecx
test edi, edi
je 0x1002bf29
push edi
push 0x42
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1002c0bd
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x1002c0b4
push edi
push dword [ebp - 0x28]
push edi
push eax
call fcn.1000a2b4
add esp, 0x10
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
lea eax, [ebp - 0x24]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test edi, edi
js 0x1002c0c2
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push ecx
call fcn.100087f1
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x1002c060
and dword [ebp - 0x28], 0
call fcn.1000a606
mov edi, 0xffff
cmp si, di
jne 0x1002bf60
movzx eax, word [ebx + 0xc]
jmp 0x1002bf64
movzx eax, word [ebx + 8]
movsx ecx, ax
mov dword [ebp - 0x20], ecx
jne 0x1002bf72
movzx eax, word [ebx + 0xe]
jmp 0x1002bf76
movzx eax, word [ebx + 0xa]
movsx edx, ax
mov dword [ebp - 0x1c], edx
jne 0x1002bf84
movzx eax, word [ebx + 0x10]
jmp 0x1002bf88
movzx eax, word [ebx + 0xc]
cwde
add eax, ecx
mov dword [ebp - 0x18], eax
cmp si, di
jne 0x1002bf99
movzx eax, word [ebx + 0x12]
jmp 0x1002bf9d
movzx eax, word [ebx + 0xe]
mov edi, dword [ebp - 0x44]
cwde
add eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, 0xffff
cmp si, ax
jne 0x1002bfc8
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 8]
mov edx, dword [ebx + 4]
jmp 0x1002bfd0
movzx ecx, word [ebx + 0x10]
xor edx, edx
mov eax, ebx
mov eax, dword [eax]
push 0
push ecx
push edx
or eax, 0x10000
lea ecx, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
push str.AtlAxWinLic140
call fcn.10075920
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1002c059
mov eax, dword [ebp - 0x2c]
mov ecx, 0xffff
cmp ax, cx
jne 0x1002c014
cmp dword [ebx], 0
je 0x1002c014
push dword [ebx]
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [ebp - 0x34]
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push 0x100fcccc
push eax
push eax
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
add eax, ebx
push eax
call fcn.1000574f
mov edi, eax
test edi, edi
js 0x1002c0d5
push 0x13
xor eax, eax
cmp word [ebp - 0x3c], ax
push eax
push eax
push eax
push eax
cmovne eax, dword [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x30], esi
jmp 0x1002c060
call fcn.10004ae6
mov edi, eax
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002c07a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x50]
push ebx
call fcn.100065a1
mov edx, dword [ebp - 0x3c]
mov ebx, eax
inc edx
pop ecx
pop ecx
mov dword [ebp - 0x3c], edx
cmp dx, word [ebp - 0x48]
jae 0x1002c0e7
mov ecx, dword [ebp - 0x38]
jmp 0x1002be94
test dx, dx
je 0x1002c07d
push 2
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30], eax
jmp 0x1002c07d
call fcn.10004ae6
mov edi, eax
jmp 0x1002c0c2
mov edi, 0x8007000e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002c0e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002c0e7
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1002c0c2
call fcn.10004ae6
mov edi, eax
mov eax, edi
call fcn.100587d5
ret 4