Function at 0x457230
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3118
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x64dff0]
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 ebx, ecx
call fcn.00456fb0
call fcn.0046d46c
call fcn.0046d46c
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push esi
push 1
push 0x80
push dword [ebx + 0x20]
call edi
push esi
push 0
push 0x80
push dword [ebx + 0x20]
call edi
push 0
push 0x80
push 0
mov ecx, ebx
call fcn.0046a6af
mov edx, 0xa2
lea ecx, [ebp - 0x4c]
call fcn.00404050
mov dword [ebp - 4], 0
mov ecx, ebx
push dword [eax]
call fcn.0046aaae
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4572ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
xorps xmm0, xmm0
ucomisd xmm0, qword [ebx + 0xd0]
mov esi, dword [sym.imp.USER32.dll_GetDC]
lahf
test ah, 0x44
jp 0x45732a
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x6260c0]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x48], eax
lahf
test ah, 0x44
jp 0x457372
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626028]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x4c], eax
lahf
test ah, 0x44
jp 0x4573ba
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x6260b0]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x5c], eax
lahf
test ah, 0x44
jp 0x457402
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626080]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x58], eax
lahf
test ah, 0x44
jp 0x45744a
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
mov edx, dword [ebx + 0x10c]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626028]
mov dword [ebp - 0x40], edx
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x44], eax
lahf
test ah, 0x44
jp 0x45749e
push 0x58
push 0
call esi
push eax
call edi
mov edx, dword [ebp - 0x40]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
mov eax, dword [ebx + 0x10c]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626100]
dec eax
imul edx, dword [ebp - 0x48]
cvttsd2si ecx, xmm0
xorps xmm0, xmm0
imul ecx, eax
mov eax, dword [ebp - 0x44]
sub edx, ecx
ucomisd xmm0, xmm1
lea eax, [edx + eax*2]
mov dword [ebp - 0x44], eax
lahf
test ah, 0x44
jp 0x4574fc
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626080]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x40], eax
lahf
test ah, 0x44
jp 0x457544
push 0x58
push 0
call esi
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm0, qword [ebx + 0xd0]
mulsd xmm0, qword [0x626108]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x39], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
cvttsd2si eax, xmm0
lea esi, [ecx + ecx]
sub esi, eax
lea eax, [ebp - 0x54]
add esi, dword [ebp - 0x40]
add esi, dword [ebp - 0x58]
add esi, dword [ebp - 0x48]
push eax
push 0x6d
mov dword [ebp - 0x40], esi
call fcn.00405c20
mov ecx, eax
call fcn.00441100
test al, al
je 0x457610
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movq qword [ebp - 0x18], xmm0
call fcn.00409790
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
cmp eax, esi
je 0x4575d1
nop dword [eax]
push dword [ebp - 0x50]
lea ecx, [esi + 8]
push dword [ebp - 0x54]
call fcn.004054e0
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x4575cd
mov esi, dword [esi]
cmp eax, esi
jne 0x4575b0
jmp 0x4575d1
mov byte [ebp - 0x39], 0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
cmp ecx, eax
je 0x457604
nop dword [eax]
mov esi, dword [ecx]
push ecx
call fcn.0045dc22
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, esi
cmp esi, eax
jne 0x4575f0
push eax
call fcn.0045dc22
mov esi, dword [ebp - 0x40]
add esp, 4
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x20]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [ebp - 0x39], 0
je 0x45769c
push 0
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
cdq
mov ecx, dword [ebp - 0x40]
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cdq
sub eax, edx
mov esi, eax
mov eax, ecx
push 0x40
cdq
push ecx
push dword [ebp - 0x44]
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
push esi
push edi
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push edi
push 0x6d
call fcn.00405c20
mov ecx, eax
call fcn.00440f30
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x4576b3
push 0x40
push esi
push dword [ebp - 0x44]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
ucomisd xmm0, qword [ebx + 0xd0]
lahf
test ah, 0x44
jp 0x4576f6
push 0x58
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm0, qword [ebx + 0xd0]
mulsd xmm0, qword [0x626080]
cvttsd2si eax, xmm0
push eax
push dword [ebp - 0x20]
lea eax, [ebx + 0xd8]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor esi, esi
cmp dword [ebx + 0x10c], esi
jle 0x4578c7
nop
xorps xmm0, xmm0
ucomisd xmm0, qword [ebx + 0xd0]
lahf
test ah, 0x44
jp 0x457766
push 0x58
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626028]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x40], eax
lahf
test ah, 0x44
jp 0x4577b2
push 0x58
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
mov edi, dword [ebp - 0x48]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626100]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
sub edi, eax
imul edi, esi
add edi, dword [ebp - 0x40]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x45780a
push 0x58
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
movsd xmm1, qword [ebx + 0xd0]
movaps xmm0, xmm1
mulsd xmm0, qword [0x626080]
cvttsd2si ecx, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov dword [ebp - 0x40], ecx
lahf
test ah, 0x44
jp 0x45785d
push 0x58
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x40]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6260b8]
movsd qword [ebx + 0xd0], xmm0
test esi, esi
js 0x4578de
cmp esi, dword [ebx + 0x10c]
jge 0x4578de
movsd xmm0, qword [ebx + 0xd0]
mulsd xmm0, qword [0x626108]
mov eax, dword [ebp - 0x48]
push 1
push eax
push eax
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, dword [ebx + 0x108]
push ecx
push edi
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 4]
call fcn.0046a7ee
cmp esi, dword [ebx + 0x10c]
jge 0x4578de
mov eax, dword [ebx + 0x108]
push 5
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 4]
call fcn.0046aaff
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
inc esi
cmp esi, dword [ebx + 0x10c]
jl 0x457730
push 2
mov ecx, ebx
lea esi, [ebx + 0xf0]
call fcn.0046a0de
test esi, esi
jne 0x4578e3
xor ecx, ecx
jmp 0x4578e6
call fcn.0045e5d5
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x58]
sub ecx, edx
mov edi, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x4c]
push 1
push edx
cdq
sub eax, edx
mov esi, eax
mov eax, edi
cdq
push edi
sub eax, edx
sar esi, 1
push ecx
sar eax, 1
mov ecx, ebx
sub esi, eax
push esi
push 2
call fcn.0046a0de
mov ecx, eax
call fcn.0046a7ee
push 5
push 2
mov ecx, ebx
call fcn.0046a0de
mov ecx, eax
call fcn.0046aaff
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.005a3521
mov esp, ebp
pop ebp
ret