Function at 0x4470c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47e2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a8800]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4a8800]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
mov eax, dword [ebp + 8]
movzx eax, ax
push 0xf0
push eax
push dword [0x4abb58]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x447145
push eax
push dword [0x4abb58]
call ebx
test eax, eax
je 0x447145
push eax
call edi
mov dword [esp + 0x2c], eax
push 5
push dword [esp + 0x20]
push dword [0x4abb58]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44748d
push eax
push dword [0x4abb58]
call ebx
test eax, eax
je 0x4474af
push eax
call edi
mov edx, eax
test edx, edx
je 0x4474af
movzx ecx, word [edx + 2]
xor eax, eax
mov edi, 0xffff
cmp cx, di
sete al
mov dword [esp + 0x18], eax
lea eax, [edx + 0x10]
cmp cx, di
je 0x44719d
lea eax, [edx + 8]
movzx edi, word [eax]
push edx
mov dword [esp + 0x38], edi
call fcn.0043ea10
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x28]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x20], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x24], edx
cmp ax, di
jae 0x44748d
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4471e3
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 0x18]
jmp 0x4471ea
movzx ecx, word [ebx + 0x10]
lea eax, [ebx + 0x12]
cmp word [eax], 0x7b
jne 0x44742f
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
call fcn.0043eb10
xor ecx, ecx
add esp, 4
mov edi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x58], ecx
test edi, edi
je 0x44726d
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x447465
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x447446
push edi
push dword [esp + 0x14]
push edi
push eax
call fcn.0045a7bd
push eax
call fcn.00423770
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x14]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0
lea eax, [esp + 0x30]
mov byte [esp + 0x58], 1
push eax
push ecx
call fcn.0043eb60
mov edi, dword [esp + 0x38]
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
js 0x4473df
call fcn.00443230
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4472b4
movzx eax, word [ebx + 0xc]
lea esi, [ebx + 0x18]
mov dword [esp + 0x1c], esi
jmp 0x4472bf
lea eax, [ebx + 0x12]
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 8]
movsx edx, ax
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x4472d0
movzx eax, word [ebx + 0xe]
jmp 0x4472d4
movzx eax, word [ebx + 0xa]
movsx esi, ax
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x4472e5
movzx eax, word [ebx + 0x10]
jmp 0x4472e9
movzx eax, word [ebx + 0xc]
cwde
add eax, edx
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x4472fa
movzx eax, word [ebx + 0x12]
jmp 0x4472fe
movzx eax, word [ebx + 0xe]
cwde
add eax, esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp dword [esp + 0x18], 0
je 0x44732d
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
mov dword [esp + 0x10], ecx
jmp 0x44733b
movzx eax, word [ebx + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x3c]
or esi, 0x10000
mov ecx, dword [esp + 0x38]
push 0
push dword [0x4abb54]
push eax
mov eax, dword [esp + 0x34]
push dword [eax + 4]
mov eax, dword [esp + 0x54]
sub eax, edx
push eax
mov eax, dword [esp + 0x54]
sub eax, ecx
push eax
push edx
push ecx
push esi
push 0
push str.AtlAxWinLic120
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x447426
cmp dword [esp + 0x18], 0
je 0x44739e
mov eax, dword [ebx]
test eax, eax
je 0x44739e
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push edi
sub esp, 0x10
lea ecx, [esp + 0x24]
push dword [esp + 0x28]
push dword [esp + 0x34]
call fcn.00447c30
mov dword [esp + 0x10], eax
test eax, eax
js 0x44746c
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp word [esp + 0x24], 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 [esp + 0x20], esi
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x447400
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x18]
push edi
push ebx
call fcn.0043eaa0
mov edx, dword [esp + 0x2c]
add esp, 8
inc edx
mov ebx, eax
mov dword [esp + 0x24], edx
cmp dx, word [esp + 0x34]
jb 0x4471d7
jmp 0x44748d
call fcn.0043e580
mov esi, eax
jmp 0x4473e3
test dx, dx
je 0x447404
push 2
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x20], eax
jmp 0x447404
call fcn.0043e580
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44748d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44748d
mov esi, 0x8007000e
jmp 0x44744d
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x447489
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret 4
call fcn.0043e580
mov esi, eax
jmp 0x44748d