Function at 0x4472c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489db0
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 0x44732f
push eax
push dword [0x4b6790]
call edi
test eax, eax
je 0x44732f
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 0x44775f
push eax
push dword [0x4b6790]
call edi
test eax, eax
je 0x447756
push eax
call esi
mov edx, eax
test edx, edx
je 0x447756
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.00423120
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 0x44775f
mov dword [ebp - 0x50], 0x18
mov eax, 0xffff
cmp word [ebp - 0x48], ax
jne 0x4473f5
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x18], ecx
jmp 0x4473fc
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 0x44769d
mov ecx, dword [ebp - 0x40]
mov eax, ecx
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x44744d
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 0x447503
add eax, edx
jne 0x447430
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x4474b4
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x44771e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x447701
push esi
push dword [ebp - 0x30]
mov edx, esi
mov ecx, eax
call fcn.0041fec0
push eax
call fcn.00420030
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 0x447740
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00423420
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
js 0x44764e
call fcn.00427fa0
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 0x44751c
movzx eax, word [ebx + 0xc]
jmp 0x447520
mov eax, 0x378
cmp si, ax
je 0x44744d
mov dword [ebp - 0x30], edi
lea esi, [edx + 6]
jmp 0x44744f
movzx eax, word [ebx + 8]
movsx ecx, ax
mov dword [ebp - 0x2c], ecx
cmp word [ebp - 0x5c], di
jne 0x447532
movzx eax, word [ebx + 0xe]
jmp 0x447536
movzx eax, word [ebx + 0xa]
movsx edx, ax
mov dword [ebp - 0x28], edx
cmp word [ebp - 0x60], di
jne 0x447548
movzx eax, word [ebx + 0x10]
jmp 0x44754c
movzx eax, word [ebx + 0xc]
cwde
add eax, ecx
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x64], di
jne 0x44755e
movzx eax, word [ebx + 0x12]
jmp 0x447562
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 0x447583
mov ecx, dword [ebx + 0x14]
jmp 0x447587
movzx ecx, word [ebx + 0x10]
cmp word [ebp - 0x6c], di
jne 0x447595
mov eax, dword [ebx + 4]
mov dword [ebp - 0x30], eax
jmp 0x44759c
mov dword [ebp - 0x30], 0
cmp word [ebp - 0x70], di
lea edi, [ebx + 8]
je 0x4475a7
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 0x447646
mov ecx, 0xffff
cmp word [ebp - 0x74], cx
jne 0x447603
mov ecx, dword [ebx]
test ecx, ecx
je 0x447603
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.00447960
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
js 0x447739
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 0x447651
call fcn.00420240
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 0x44766c
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 0x4476b0
add ecx, 4
jmp 0x4476bb
test dx, dx
je 0x44767a
push 2
push edi
call esi
mov edi, eax
mov dword [ebp - 0x34], edi
jmp 0x447672
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4476b0
cmp word [ecx], bx
jne 0x4476c5
add ecx, 4
jmp 0x4476d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4476c5
movzx eax, word [ecx]
test ax, ax
je 0x4476e3
cmp word [ebp - 0x80], bx
je 0x4476e3
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 0x4473e2
mov edi, dword [ebp - 0x30]
jmp 0x447761
call fcn.00420240
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x447761
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x447761
mov dword [ebp - 4], 0xffffffff
mov edi, 0x8007000e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x447761
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x447761
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x447761
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x447761
call fcn.00420240
mov edi, eax
jmp 0x447761
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.0045f41f
mov esp, ebp
pop ebp
ret 4