Function at 0x427f56
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ecx + 4]
push ebx
push esi
lea esi, [ecx + 4]
mov dword [0x4bfe50], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov eax, dword [eax]
push edi
cmp dword [eax - 8], ecx
setne cl
mov edi, ecx
xor eax, eax
test edi, edi
setne al
add eax, 0xc9
mov dword [ebp - 4], eax
movzx eax, ax
push eax
push dword [0x4c0e4c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [esi]
call ebx
push dword [ebp - 4]
push dword [0x4c0e4c]
call fcn.00430f34
pop ecx
pop ecx
push eax
push 0
push 0x80
push dword [esi]
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.00405c43
lea ecx, [ebp - 0x28]
call fcn.00473bce
push 0xf4
lea ecx, [ebp - 0x28]
call fcn.00450a4f
mov eax, dword [0x4a9450]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040ddff
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.004065e8
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x30]
call fcn.00473bce
neg edi
sbb edi, edi
lea ecx, [ebp - 0x30]
and edi, 0xffffff5e
add edi, 0x137
push edi
call fcn.00450a4f
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
neg eax
sbb eax, eax
mov edi, 0x4a9724
and eax, ecx
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0045080f
pop ecx
push eax
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push 0x4a98e8
push eax
call fcn.0040673f
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004066f3
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040665f
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004066f3
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040665f
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push eax
push dword [eax - 8]
call fcn.0040678b
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0x18]
call fcn.00401085
lea ecx, [ebp - 0x1c]
call fcn.00401085
lea ecx, [ebp - 0x20]
call fcn.00401085
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
neg eax
sbb eax, eax
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
and eax, ecx
push dword [eax]
push dword [esi]
call edi
lea ecx, [ebp - 0x30]
call fcn.00473bfc
lea ecx, [ebp - 4]
call fcn.00401085
lea ecx, [ebp - 0x28]
call fcn.00473bfc
lea ecx, [ebp - 0x30]
call fcn.00473bce
push 0xf1
lea ecx, [ebp - 0x30]
call fcn.00450a4f
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [esi]
call ebx
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
neg ecx
sbb ecx, ecx
and ecx, edx
push dword [ecx]
push eax
call edi
lea ecx, [ebp - 0x30]
call fcn.00473bfc
lea ecx, [ebp - 0x30]
call fcn.00473bce
push 0x109
lea ecx, [ebp - 0x30]
call fcn.00450a4f
push 3
push dword [esi]
call ebx
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
neg ecx
sbb ecx, ecx
and ecx, edx
push dword [ecx]
push eax
call edi
lea ecx, [ebp - 0x30]
call fcn.00473bfc
lea ecx, [ebp - 0x30]
call fcn.00473bce
push 0x8055
lea ecx, [ebp - 0x30]
call fcn.00450a4f
push 5
push dword [esi]
call ebx
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
neg ecx
sbb ecx, ecx
mov dword [ebp - 0x20], eax
and ecx, edx
push dword [ecx]
push eax
call edi
xor edi, edi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x30]
call fcn.00473bfc
push 0x3f4
push dword [esi]
call ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x40]
push eax
push dword [esi]
call ebx
test eax, eax
je 0x4281d9
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call ebx
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 8]
push edi
push ecx
mov ecx, esp
push edi
lea ebx, [eax + 0x28]
call fcn.00405f38
push edi
push 0x40000000
push edi
push ecx
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00405f38
push dword [esi]
mov ecx, ebx
call fcn.00423f54
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ch, 2
cmp eax, ecx
je 0x42822c
push ecx
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 8]
push 0xffff
mov ecx, eax
add eax, 0x1c
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push 0x4233a0
push dword [ebx]
call dword [sym.imp.HTMLayout.dll_HTMLayoutWindowAttachEventHandler]
mov ecx, dword [ebp - 8]
call fcn.004275c0
push 5
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
call fcn.0040d4f0
push edi
push edi
push 0x8001
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [esi]
call ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10