Function at 0x10004269
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x4c
mov eax, 0x100429b7
call fcn.1001f193
mov dword [ebp - 0x3c], ecx
movzx eax, word [ebp + 8]
push 0xf0
push eax
push dword [0x1006d204]
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 0x100042b7
push eax
push dword [0x1006d204]
call ebx
test eax, eax
je 0x100042b7
push eax
call esi
mov dword [ebp - 0x40], eax
movzx ecx, word [ebp + 8]
push 5
push ecx
push dword [0x1006d204]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100045c0
push eax
push dword [0x1006d204]
call ebx
test eax, eax
je 0x100045b9
push eax
call esi
mov esi, eax
test esi, esi
je 0x100045b9
movzx ecx, word [esi + 2]
mov edx, 0xffff
mov eax, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], eax
movzx eax, ax
mov dword [ebp - 0x50], eax
xor eax, eax
cmp cx, dx
push esi
sete al
mov dword [ebp - 0x58], eax
call fcn.10005218
push esi
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
call fcn.100053b0
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x3c]
pop ecx
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30], eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x44], ecx
cmp ax, word [ebp - 0x48]
jae 0x100045c0
mov esi, dword [ebp - 0x28]
cmp si, word [ebp - 0x38]
push 0x12
pop edx
push 0x18
pop eax
cmove edx, eax
mov dword [ebp - 0x38], edx
movzx eax, cx
mov dword [ebp - 0x54], eax
mov eax, 0xffff
cmp word [ebp - 0x4c], ax
jne 0x10004376
mov eax, dword [ebx + 0x14]
jmp 0x1000437a
movzx eax, word [ebx + 0x10]
cmp word [edx + ebx], 0x7b
jne 0x10004578
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x40]
push eax
call fcn.10005372
xor ecx, ecx
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x24], ecx
and dword [ebp - 4], ecx
test edi, edi
je 0x100043fb
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10004596
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000458d
push edi
push dword [ebp - 0x2c]
push edi
push eax
call fcn.10008330
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 0x1000459b
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push ecx
call fcn.10006bd1
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x10004539
and dword [ebp - 0x2c], 0
call fcn.10008642
mov edi, 0xffff
lea ecx, [ebx + 0xc]
cmp si, di
jne 0x10004434
movzx eax, word [ecx]
jmp 0x10004438
movzx eax, word [ebx + 8]
cwde
lea edx, [ebx + 0xe]
mov dword [ebp - 0x20], eax
jne 0x10004446
movzx eax, word [edx]
jmp 0x1000444a
movzx eax, word [ebx + 0xa]
cwde
mov esi, ebx
push 0x10
mov dword [ebp - 0x1c], eax
pop edi
jne 0x10004458
lea ecx, [ebx + 0x10]
movzx eax, word [ecx]
mov ecx, 0xffff
cwde
add eax, dword [ebp - 0x20]
cmp word [ebp - 0x50], cx
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x12]
cmovne eax, edx
movsx eax, word [eax]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, 0xffff
cmp word [ebp - 0x28], ax
jne 0x100044a2
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 8]
mov edx, dword [ebx + 4]
xor edi, edi
jmp 0x100044ac
movzx ecx, word [esi + edi]
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 - 0x2c]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
push str.AtlAxWinLic140
call fcn.10004216
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x10004532
mov eax, 0xffff
cmp word [ebp - 0x28], ax
jne 0x100044ef
cmp dword [ebx], 0
je 0x100044ef
push dword [ebx]
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push edi
push 0x1005d60c
push edi
push edi
push dword [ebp - 0x24]
add eax, ebx
push eax
call fcn.1000466a
mov edi, eax
test edi, edi
js 0x100045ae
push 0x13
xor eax, eax
cmp word [ebp - 0x54], 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 0x10004539
call fcn.10003b91
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 0x10004553
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x58]
push ebx
call fcn.10005434
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
mov ebx, eax
inc ecx
mov dword [ebp - 0x44], ecx
cmp cx, word [ebp - 0x48]
jae 0x100045c0
mov edx, dword [ebp - 0x38]
jmp 0x10004360
test cx, cx
je 0x10004556
push 2
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30], eax
jmp 0x10004556
call fcn.10003b91
mov edi, eax
jmp 0x1000459b
mov edi, 0x8007000e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100045c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100045c0
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1000459b
call fcn.10003b91
mov edi, eax
mov eax, edi
call fcn.1001f151
ret 4