Function at 0x446c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480960
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
movzx ebx, word [ebp + 8]
push 0xf0
push ebx
push dword [0x4b0c18]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x446cc5
push eax
push dword [0x4b0c18]
call edi
test eax, eax
je 0x446cc5
push eax
call esi
mov dword [ebp - 0x4c], eax
push 5
push ebx
push dword [0x4b0c18]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x447084
push eax
push dword [0x4b0c18]
call edi
test eax, eax
je 0x447076
push eax
call esi
test eax, eax
je 0x447076
movzx ecx, word [eax + 2]
xor edx, edx
mov esi, 0xffff
cmp cx, si
sete dl
cmp cx, si
lea ecx, [eax + 0x10]
mov dword [ebp - 0x2c], edx
je 0x446d17
lea ecx, [eax + 8]
movzx ecx, word [ecx]
push eax
mov dword [ebp - 0x48], ecx
call fcn.0043c6f0
mov edi, dword [sym.imp.USER32.dll_GetWindow]
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x40]
push 5
push dword [eax + 4]
call edi
mov esi, eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], edx
cmp ax, word [ebp - 0x48]
jae 0x447084
mov edi, edi
cmp dword [ebp - 0x2c], 0
je 0x446d5e
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 0x18]
jmp 0x446d65
movzx ecx, word [ebx + 0x10]
lea eax, [ebx + 0x12]
cmp word [eax], 0x7b
jne 0x447004
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x4c]
mov dword [ebp - 0x24], 0
push ecx
call fcn.0043c6a0
xor ecx, ecx
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
test edi, edi
je 0x446de1
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x447036
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x447015
push edi
push dword [ebp - 0x24]
push edi
push eax
call fcn.00462094
push eax
call fcn.004036b0
add esp, 0x14
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 ecx, dword [ebp - 0x28]
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00438570
mov edi, dword [ebp - 0x50]
mov esi, eax
add esp, 8
mov dword [ebp - 0x24], esi
test esi, esi
js 0x446fb9
call fcn.0043a710
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x446e21
movzx eax, word [ebx + 0xc]
lea esi, [ebx + 0x18]
mov dword [ebp - 0x24], esi
jmp 0x446e2b
lea eax, [ebx + 0x12]
mov dword [ebp - 0x24], eax
movzx eax, word [ebx + 8]
movsx edx, ax
mov dword [ebp - 0x20], edx
test ecx, ecx
je 0x446e3b
movzx eax, word [ebx + 0xe]
jmp 0x446e3f
movzx eax, word [ebx + 0xa]
movsx esi, ax
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x446e4f
movzx eax, word [ebx + 0x10]
jmp 0x446e53
movzx eax, word [ebx + 0xc]
cwde
add eax, edx
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x446e63
movzx eax, word [ebx + 0x12]
jmp 0x446e67
movzx eax, word [ebx + 0xe]
cwde
add eax, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x40]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp dword [ebp - 0x2c], 0
je 0x446e91
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x34], ecx
jmp 0x446e9e
movzx eax, word [ebx + 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 0
push dword [0x4b0c14]
or esi, 0x10000
push eax
mov eax, dword [ebp - 0x40]
push dword [eax + 4]
mov eax, dword [ebp - 0x14]
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push esi
push 0
push str.AtlAxWinLic110
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x446fb1
cmp dword [ebp - 0x2c], 0
je 0x446ef9
mov eax, dword [ebx]
test eax, eax
je 0x446ef9
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0x4930d0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0043e770
test eax, eax
jns 0x446f3c
push edi
push 0
push 0x4949fc
push 0
push 0
push dword [ebp - 0x34]
push esi
push dword [ebp - 0x24]
call fcn.0043a610
mov dword [ebp - 0x24], eax
jmp 0x446f77
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x38]
push edi
mov ecx, dword [eax]
push 0
push 0x4949fc
lea edx, [ebp - 0x44]
push edx
push dword [ebp - 0x34]
mov byte [ebp - 4], 3
push esi
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 2
test eax, eax
je 0x446f77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test eax, eax
je 0x446f88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x24], 0
jl 0x447056
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 0x446fbc
call fcn.00435a50
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x30]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x446fd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push dword [ebp - 0x2c]
push ebx
call fcn.0043c780
mov edx, dword [ebp - 0x3c]
inc edx
add esp, 8
mov ebx, eax
mov dword [ebp - 0x3c], edx
cmp dx, word [ebp - 0x48]
jb 0x446d50
mov eax, dword [ebp - 0x24]
jmp 0x447086
test dx, dx
je 0x446fdd
push 2
push esi
call edi
mov esi, eax
mov dword [ebp - 0x30], esi
jmp 0x446fdd
call fcn.00435a50
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x447071
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
jmp 0x447086
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0x8007000e
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x44707d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
jmp 0x447086
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x447071
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
jmp 0x447086
call fcn.00435a50
jmp 0x447086
mov eax, 0x8007000e
jmp 0x447086
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret 4