Function at 0x44b740
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x674ff8]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov ecx, esp
push 0x63c638
call fcn.00404b00
mov ecx, 0xba
call fcn.00401c80
mov esi, eax
add esp, 4
mov dword [ebx + 0xfc], esi
test esi, esi
je 0x44b7d3
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x44b79c
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0xfc]
mov dword [ebx + 0x100], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x44b7c9
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x104], eax
push 0xfa
push 0x1c2
push 0
push 0
lea eax, [ebx + 0xec]
mov dword [ebx + 0xe4], 0x1c2
push eax
mov dword [ebx + 0xe8], 0xfa
call dword [sym.imp.USER32.dll_SetRect]
call fcn.00488823
call fcn.00488823
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push edi
push 0
push 0x80
push dword [ebx + 0x20]
call esi
push 0
push 0x80
push 0
mov ecx, ebx
call fcn.004891b6
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x44ba17
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0xe8]
xorps xmm0, xmm0
ucomisd xmm0, qword [ebx + 0xd8]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
lahf
test ah, 0x44
jp 0x44b8af
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0x20]
movsd xmm1, qword [ebx + 0xd8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x20], eax
lahf
test ah, 0x44
jp 0x44b907
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0x20]
movsd xmm1, qword [ebx + 0xd8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x20], eax
lahf
test ah, 0x44
jp 0x44b95f
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0x20]
movsd xmm1, qword [ebx + 0xd8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0xc], eax
lahf
test ah, 0x44
jp 0x44b9b7
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
add ecx, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
push 0x40
push dword [esp + 0x14]
mulsd xmm0, qword [ebx + 0xd8]
push dword [esp + 0x1c]
push ecx
cvttsd2si eax, xmm0
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub eax, esi
add eax, dword [esp + 0x34]
jmp 0x44bbe3
push 0
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebx + 0xe8]
xorps xmm0, xmm0
ucomisd xmm0, qword [ebx + 0xd8]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0xc], eax
lahf
test ah, 0x44
jp 0x44ba78
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0xc]
movsd xmm1, qword [ebx + 0xd8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0xc], eax
lahf
test ah, 0x44
jp 0x44bad0
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0xc]
movsd xmm1, qword [ebx + 0xd8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
ucomisd xmm0, xmm1
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0xc], eax
lahf
test ah, 0x44
jp 0x44bb34
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0xc]
movsd xmm1, qword [ebx + 0xd8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
ucomisd xmm0, xmm1
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x1c], eax
lahf
test ah, 0x44
jp 0x44bb98
push 0x58
push 0
call edi
push eax
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x64a768]
movsd qword [ebx + 0xd8], xmm0
movd xmm0, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push 0x40
push dword [esp + 0x18]
cvtps2pd xmm0, xmm0
push dword [esp + 0x18]
mulsd xmm0, qword [ebx + 0xd8]
push eax
cvttsd2si eax, xmm0
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c2ae8
mov esp, ebp
pop ebp
ret