Function at 0x446e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4b3014]
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 - 0x3c], ecx
movzx ebx, word [ebp + 8]
push 0xf0
push ebx
push dword [0x4b6790]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x446eaf
push eax
push dword [0x4b6790]
call edi
test eax, eax
je 0x446eaf
push eax
call esi
mov dword [ebp - 0x40], eax
push 5
push ebx
push dword [0x4b6790]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4472df
push eax
push dword [0x4b6790]
call edi
test eax, eax
je 0x4472d6
push eax
call esi
mov edx, eax
test edx, edx
je 0x4472d6
movzx ecx, word [edx + 2]
mov ebx, 0xffff
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp cx, bx
mov ecx, edx
sete al
lea eax, [eax*8 + 8]
movzx eax, word [eax + edx]
mov dword [ebp - 0x44], eax
call fcn.004230d0
mov esi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
mov eax, dword [ebp - 0x3c]
push 5
push dword [eax + 4]
call esi
mov edi, eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edx
cmp ax, word [ebp - 0x44]
jae 0x4472df
mov dword [ebp - 0x50], 0x18
mov eax, 0xffff
cmp word [ebp - 0x48], ax
jne 0x446f75
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x18], ecx
jmp 0x446f7c
movzx eax, word [ebx + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, 0xffff
mov eax, 0x12
cmp word [ebp - 0x4c], cx
cmove eax, dword [ebp - 0x50]
cmp word [eax + ebx], 0x7b
jne 0x44721d
mov ecx, dword [ebp - 0x40]
mov eax, ecx
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x446fcd
nop dword [eax]
movzx ecx, word [eax]
lea edi, [eax + 2]
movzx esi, word [eax + 2]
mov edx, dword [eax + 4]
add eax, 8
cmp ecx, dword [ebp - 0x18]
je 0x447083
add eax, edx
jne 0x446fb0
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x447034
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x44729e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x447281
push esi
push dword [ebp - 0x30]
mov edx, esi
mov ecx, eax
call fcn.0041fe70
push eax
call fcn.0041ffe0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test edi, edi
js 0x4472c0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004233d0
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
js 0x4471ce
call fcn.00427f40
mov edi, 0xffff
mov eax, 0x12
cmp word [ebp - 0x54], di
mov ecx, 0x18
cmove eax, ecx
add eax, ebx
mov dword [ebp - 0x78], eax
cmp word [ebp - 0x58], di
jne 0x44709c
movzx eax, word [ebx + 0xc]
jmp 0x4470a0
mov eax, 0x378
cmp si, ax
je 0x446fcd
mov dword [ebp - 0x30], edi
lea esi, [edx + 6]
jmp 0x446fcf
movzx eax, word [ebx + 8]
movsx ecx, ax
mov dword [ebp - 0x2c], ecx
cmp word [ebp - 0x5c], di
jne 0x4470b2
movzx eax, word [ebx + 0xe]
jmp 0x4470b6
movzx eax, word [ebx + 0xa]
movsx edx, ax
mov dword [ebp - 0x28], edx
cmp word [ebp - 0x60], di
jne 0x4470c8
movzx eax, word [ebx + 0x10]
jmp 0x4470cc
movzx eax, word [ebx + 0xc]
cwde
add eax, ecx
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x64], di
jne 0x4470de
movzx eax, word [ebx + 0x12]
jmp 0x4470e2
movzx eax, word [ebx + 0xe]
cwde
add eax, edx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp word [ebp - 0x68], di
jne 0x447103
mov ecx, dword [ebx + 0x14]
jmp 0x447107
movzx ecx, word [ebx + 0x10]
cmp word [ebp - 0x6c], di
jne 0x447115
mov eax, dword [ebx + 4]
mov dword [ebp - 0x30], eax
jmp 0x44711c
mov dword [ebp - 0x30], 0
cmp word [ebp - 0x70], di
lea edi, [ebx + 8]
je 0x447127
mov edi, ebx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov edi, dword [edi]
push 0
push dword [0x4b678c]
or edi, 0x10000
push ecx
push dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
push eax
push edx
push ecx
push edi
push 0
push str.AtlAxWinLic140
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4471c6
mov ecx, 0xffff
cmp word [ebp - 0x74], cx
jne 0x447183
mov ecx, dword [ebx]
test ecx, ecx
je 0x447183
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push esi
sub esp, 0x10
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x78]
call fcn.004474e0
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
js 0x4472b9
mov edi, dword [ebp - 0x1c]
xor eax, eax
cmp word [ebp - 0x38], ax
push 0x13
cmovne eax, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
push eax
push edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4471d1
call fcn.004201f0
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x34]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4471ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [ebp - 0x38]
mov ecx, 0xffff
cmp word [ebp - 0x7c], cx
mov eax, 0x12
mov ecx, 0x18
cmove eax, ecx
lea ecx, [eax + ebx]
mov ebx, 0xffff
cmp word [ecx], bx
jne 0x447230
add ecx, 4
jmp 0x44723b
test dx, dx
je 0x4471fa
push 2
push edi
call esi
mov edi, eax
mov dword [ebp - 0x34], edi
jmp 0x4471f2
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447230
cmp word [ecx], bx
jne 0x447245
add ecx, 4
jmp 0x447250
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447245
movzx eax, word [ecx]
test ax, ax
je 0x447263
cmp word [ebp - 0x80], bx
je 0x447263
add eax, 0xfffe
movzx eax, ax
lea ebx, [ecx + 5]
add ebx, eax
inc edx
and ebx, 0xfffffffc
mov dword [ebp - 0x38], edx
cmp dx, word [ebp - 0x44]
jb 0x446f62
mov edi, dword [ebp - 0x30]
jmp 0x4472e1
call fcn.004201f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4472e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4472e1
mov dword [ebp - 4], 0xffffffff
mov edi, 0x8007000e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4472e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4472e1
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4472e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4472e1
call fcn.004201f0
mov edi, eax
jmp 0x4472e1
xor edi, edi
mov eax, edi
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.0045f48f
mov esp, ebp
pop ebp
ret 4