Function at 0x424654
Capabilities:
Extract resource via kernel32 functions
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], esi
call fcn.00445e90
mov edi, 0x4cd88c
mov ecx, 0x8c
mov edx, edi
call fcn.004224bb
push eax
lea ecx, [ebx + 0x40]
call fcn.00426b0a
mov edx, edi
mov ecx, 0x8d
call fcn.004224bb
push eax
lea ecx, [ebx + 0x44]
call fcn.00426b0a
mov edx, 0x4cd894
mov ecx, 0x8b
call fcn.004224bb
push eax
lea ecx, [ebx + 0x4c]
call fcn.00426b0a
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0x5a
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x4cd89c
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.DLL_MulDiv]
xor eax, eax
push eax
push eax
push eax
push 8
push 1
push eax
push eax
push eax
push 0x17a
push eax
push eax
push eax
push 0x48
push ebx
push 8
call edi
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
neg eax
push eax
call esi
mov ecx, dword [ebp - 0x40]
push eax
add ecx, 0x10
call fcn.00426b0a
mov eax, dword [ebp - 0x40]
push 0x4cd89c
push 2
push 4
add eax, 0x14
mov dword [ebp - 0x3c], eax
xor eax, eax
push eax
push 8
push 1
push eax
push eax
push eax
push 0x2bc
push eax
push eax
push eax
push 0x48
push ebx
push 8
call edi
neg eax
push eax
call esi
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.00426b0a
mov eax, dword [ebp - 0x40]
push str.MS_Shell_Dlg_2
push 2
push 4
add eax, 0x18
mov dword [ebp - 0x44], eax
xor eax, eax
push eax
push 8
push 1
push eax
push eax
push eax
push 0x1f4
push eax
push eax
push eax
push 0x48
push ebx
push 0xe
call edi
neg eax
push eax
call esi
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00426b0a
push dword [ebp - 0x50]
mov ebx, dword [ebp - 0x48]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4247dc
push eax
push 0
push 0x80
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
je 0x4247c8
push eax
call esi
push dword [ebp - 0x48]
push 1
push 0x80
push ebx
call edi
test eax, eax
je 0x4247dc
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e8
push ebx
call esi
test eax, eax
je 0x4247ff
push dword [ebp - 0x40]
push 0
push 0x426900
push eax
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x42481f
push 0x404
push ebx
call esi
test eax, eax
je 0x42481f
mov ecx, dword [ebp - 0x3c]
push 1
push dword [ecx]
push 0x30
push eax
call edi
push 0x3f0
push ebx
call esi
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x42485f
push 0
push 0
push 0x43b
push eax
call edi
or eax, 0x4000000
push eax
push 0
push 0x445
push dword [ebp - 0x3c]
call edi
push dword [ebp - 0x40]
push 1
push 0x421d3e
push dword [ebp - 0x3c]
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x4248b7
push 0x3ef
push ebx
call esi
mov ecx, dword [ebp - 0x44]
push 1
push dword [ecx]
push 0x30
push eax
call edi
push 0x3f1
push ebx
call esi
mov ecx, dword [ebp - 0x44]
push 1
push dword [ecx]
push 0x30
push eax
call edi
push 0x3f2
push ebx
call esi
mov ecx, dword [ebp - 0x44]
push 1
push dword [ecx]
push 0x30
push eax
call edi
push 0x40c
push ebx
call esi
mov ecx, dword [ebp - 0x44]
push 1
push dword [ecx]
push 0x30
push eax
call edi
mov eax, dword [ebp - 0x40]
cmp byte [eax + 8], 0
je 0x4248ce
push 4
mov ecx, eax
call fcn.00424e77
jmp 0x4249a1
mov eax, dword [eax + 4]
cmp byte [eax + 0xf], 0
jne 0x4249a1
push 0x4cd8d8
push 0x8e
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x4249a1
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404000
push 0x4c8f64
lea ecx, [ebp - 0x38]
call fcn.00404000
mov eax, 0x4cd8e0
push eax
mov dword [ebp - 0x4c], eax
call fcn.0040393c
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x20]
pop ecx
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043b4d0
add esp, 0x10
lea ecx, [ebp - 0x38]
push edi
push 1
call fcn.00404346
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0043f630
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x42497b
mov eax, dword [eax]
push eax
push 0x3f4
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
push 1
lea ecx, [ebp - 0x38]
call fcn.00404402
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00404346
lea ecx, [ebp - 0x54]
call fcn.00481c70
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4