Function at 0x1004a260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [ebp + 0x24]
sub esp, 0x34
cmp byte [0x1016b3a4], 0
mov ecx, 1
mov edx, dword [sym.imp.USER32.dll_GetPropW]
cmovne eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x24], eax
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0x14c
test esi, esi
jne 0x1004a2b4
push str.Tab_Control
push ebx
call edx
mov edx, dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 0x2c]
movsx ecx, ax
test ecx, ecx
mov dword [esp + 0x30], 0
mov eax, ecx
mov ecx, dword [ebp + 0x38]
cmovs eax, dword [esp + 0x30]
mov dword [edi + 0x64], eax
mov eax, dword [ebp + 0x48]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x5c], eax
test esi, esi
je 0x1004a493
movss xmm1, dword [esi + 0x10c]
movss xmm0, dword [0x10154570]
mov eax, dword [ebp + 0x1c]
ucomiss xmm1, xmm0
mov dword [edi + 0x124], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x128], eax
movss dword [edi + 0x10c], xmm1
lahf
test ah, 0x44
jnp 0x1004a34c
movd xmm0, dword [ebp + 0x14]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm0, dword [0x10154570]
add esp, 8
fstp qword [esp + 0x30]
cvttsd2si ecx, qword [esp + 0x30]
mov dword [esp + 0x2c], ecx
jmp 0x1004a353
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1004a39b
movd xmm0, dword [ebp + 0x18]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm0, dword [0x10154570]
add esp, 8
fstp qword [esp + 0x30]
cvttsd2si ecx, qword [esp + 0x30]
mov dword [esp + 0x30], ecx
jmp 0x1004a3a2
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1004a3e7
movd xmm0, dword [ebp + 0x1c]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm0, dword [0x10154570]
add esp, 8
fstp qword [esp + 0x38]
cvttsd2si eax, qword [esp + 0x38]
mov dword [ebp + 0x1c], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1004a423
movd xmm0, dword [ebp + 0x20]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
add esp, 8
jmp 0x1004a426
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x2c]
cmp dword [ebp + 0x28], 0
mov dword [edi + 0x48], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x54], eax
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0x50], ecx
mov dword [edi + 0x20], esi
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x3c]
mov dword [edi + 0x58], eax
setne al
mov byte [edi + 0x3d], al
mov cl, byte [esi + 0xd5]
movzx edx, al
test cl, cl
movzx eax, cl
cmovne edx, eax
cmp dword [ebp + 0x24], 0
mov byte [edi + 0xd5], dl
setne al
mov byte [edi + 0x3c], al
mov cl, byte [esi + 0xd4]
test cl, cl
movzx edx, cl
movzx eax, al
cmovne edx, eax
mov byte [edi + 0xd4], dl
jmp 0x1004a686
cmp byte [0x1016b3a4], 0
je 0x1004a4ca
cmp ecx, 0x3e8
jne 0x1004a4c1
push str.Tab_Control
push ebx
call edx
test eax, eax
jne 0x1004a4c1
mov eax, dword [sym.imp.USER32.dll_SetPropW]
push 1
push str.Tab_IsWinControl
push dword [edi + 0x10]
call eax
cmp byte [0x1016b3a4], 0
jne 0x1004a53c
cmp dword [0x1016b498], 0
je 0x1004a53c
mov eax, dword [0x1016c2e4]
test eax, eax
je 0x1004a509
push ebx
call eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10154950]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x1015475c]
movss dword [edi + 0x10c], xmm0
jmp 0x1004a53c
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1015475c]
movss dword [edi + 0x10c], xmm0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xffffffffffffffe6
push ebx
call dword [sym.imp.USER32.dll_GetClassLongW]
or eax, 0xb
push eax
push 0xffffffffffffffe6
push ebx
call dword [sym.imp.USER32.dll_SetClassLongW]
movss xmm0, dword [edi + 0x10c]
ucomiss xmm0, dword [0x10154524]
lahf
test ah, 0x44
jp 0x1004a571
mov dword [edi + 0x10c], 0x3f800000
lea esi, [edi + 0x48]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x50]
mov eax, dword [edi + 0x54]
sub ecx, dword [esi]
sub eax, dword [edi + 0x4c]
mov esi, dword [sym.imp.USER32.dll_SetPropW]
push edi
push str.Tab_Control
push ebx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], eax
mov dword [edi + 0x78], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x124], ecx
mov dword [edi + 0x128], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], ebx
mov dword [edi + 0x58], 0
call esi
push 0
push str.Tab_WM_DESTROY
push ebx
call esi
push str.Isunicode
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x1004a616
push ebx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
push eax
push str.Isunicode
push ebx
call esi
cmp dword [ebp + 0x28], 0
push 0
push dword [edi + 0x54]
setne al
cmp dword [ebp + 0x24], 0
push dword [edi + 0x50]
mov byte [edi + 0x3d], al
mov byte [edi + 0xd5], al
setne al
mov byte [edi + 0x3c], al
mov byte [edi + 0xd4], al
call sym.ExuiKrnln_X32.dll_Creat_CanvasEx
push eax
push str.Tab_CanvasEx
push ebx
call esi
mov eax, dword [ebp + 0x2c]
shr eax, 0x10
cwde
sub eax, 1
mov dword [ebp + 0x2c], eax
jns 0x1004a665
mov eax, 0xff
mov dword [ebp + 0x2c], eax
jmp 0x1004a66c
cmp eax, 0x100
jg 0x1004a675
cmp byte [0x1016b3a4], 0
je 0x1004a67d
mov eax, 0x100
mov dword [ebp + 0x2c], eax
push eax
push str.Layered
push ebx
call esi
mov edx, dword [ebp + 0x40]
lea ecx, [edi + 0x68]
call fcn.100ecc40
push dword [edi + 0x68]
call sym.ExuiKrnln_X32.dll_RexLoadCursor
mov edx, dword [ebp + 0x4c]
lea ecx, [edi + 0x38]
mov dword [edi + 0xac], eax
mov dword [edi + 0x6c], 0
call fcn.100ecc40
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1004a6c6
mov eax, dword [ecx + 0x2c]
add eax, dword [ecx + 8]
je 0x1004a6c6
inc dword [0x1016b3cc]
mov eax, dword [ebp + 0x44]
mov esi, dword [sym.imp.USER32.dll_SetPropW]
mov dword [edi + 0x70], eax
test ax, ax
je 0x1004a6e3
push 1
push str.FocusManagement
push dword [edi + 0x28]
call esi
mov edx, dword [ebp + 0x30]
mov ecx, 0x100502e0
test edx, edx
mov eax, ecx
cmovne eax, edx
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x34]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0x40], ecx
test eax, eax
je 0x1004a710
push edi
push str.Tab_Control
push eax
call esi
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgn]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0xb4], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0xb0], eax
call esi
push 0
push dword [edi + 0x54]
mov dword [edi + 0xb8], eax
push dword [edi + 0x50]
call sym.ExuiKrnln_X32.dll_Creat_CanvasEx
mov esi, dword [ebp + 0xc]
mov dword [edi + 0xd8], eax
test esi, esi
je 0x1004a7cf
mov eax, dword [esi + 0x2c]
mov edx, esi
inc eax
mov dword [edi + 0x2c], eax
mov eax, dword [0x1016b3ec]
cmp dword [eax + 0x20], esi
je 0x1004a7aa
cmp eax, esi
je 0x1004a7aa
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1004a7ac
mov eax, dword [esi + 0x2c]
inc eax
cmp dword [ecx + 0x2c], eax
jne 0x1004a7ac
cmp dword [ecx + 0x2c], eax
jl 0x1004a79b
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x1004a787
mov edx, dword [0x1016b3ec]
jmp 0x1004a7ac
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x1004a7ac
mov edx, dword [0x1016b3ec]
jmp 0x1004a7ac
mov edx, eax
mov dword [edi + 0x18], edx
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x1004a7c7
mov dword [0x1016b3ec], edi
mov dword [edx + 0x1c], edi
jmp 0x1004a7fa
mov dword [eax + 0x18], edi
mov dword [edx + 0x1c], edi
jmp 0x1004a7fa
mov eax, dword [0x1016b3ec]
mov dword [edi + 0x2c], 1
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
mov dword [0x1016b3ec], edi
test eax, eax
jne 0x1004a7f7
mov dword [0x1016b3d4], edi
jmp 0x1004a7fa
mov dword [eax + 0x1c], edi
push 0
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x5c]
push eax
push dword [eax]
mov eax, dword [edi + 0x44]
push 0x3f4
push edi
call eax
push 0
xor eax, eax
cmp byte [edi + 0xd5], al
push 0
push 0
setne al
push eax
mov eax, dword [edi + 0x44]
push 0x3f2
push edi
call eax
test esi, esi
jne 0x1004aa74
cmp dword [ebp + 0x2c], 0x100
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
jge 0x1004a862
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push ebx
call eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
cmp byte [0x1016b4d4], 0
push fcn.100463d0
push 0xfffffffffffffffc
push ebx
je 0x1004a882
call eax
push eax
mov eax, dword [sym.imp.USER32.dll_SetPropW]
push str.EXUI_USERDATA
jmp 0x1004a88c
call eax
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffeb
push ebx
call eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
lahf
test ah, 0x44
jnp 0x1004aa35
movd xmm0, dword [edi + 0x50]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movd xmm0, dword [edi + 0x50]
add esp, 8
movd xmm2, dword [edi + 0x48]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10154570]
cvtdq2pd xmm0, xmm0
mov ecx, dword [edi + 0x54]
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
subsd xmm1, xmm0
cvtdq2pd xmm2, xmm2
mulsd xmm1, qword [0x101545a8]
ucomiss xmm3, xmm4
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov dword [edi + 0x48], eax
lahf
test ah, 0x44
jp 0x1004a920
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x1004a958
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10154570]
fstp qword [esp + 0x38]
movsd xmm2, qword [esp + 0x38]
cmp dword [edi + 0x48], 0
mov ecx, dword [edi + 0x54]
movd xmm1, dword [edi + 0x4c]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
mulsd xmm2, qword [0x101545a8]
subsd xmm1, xmm2
cvttsd2si edx, xmm1
mov dword [edi + 0x4c], edx
jge 0x1004a990
mov dword [edi + 0x48], 0
test edx, edx
mov dword [esp + 0x30], 0
mov eax, edx
cmovs eax, dword [esp + 0x30]
ucomiss xmm3, xmm4
mov dword [edi + 0x4c], eax
lahf
test ah, 0x44
jnp 0x1004a9df
movd xmm0, dword [edi + 0x50]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
add esp, 8
call fcn.101405e0
mov ecx, dword [edi + 0x54]
movss xmm4, dword [0x10154570]
mov dword [edi + 0x50], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004aa16
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
add esp, 8
call fcn.101405e0
mov dword [edi + 0x54], eax
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
test eax, eax
jne 0x1004aa2e
push 0x2794
jmp 0x1004aa63
push 0x2714
jmp 0x1004aa63
mov eax, dword [edi + 0x24]
cmp eax, 0x320
je 0x1004aa74
cmp eax, 0x384
je 0x1004aa74
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
test eax, eax
jne 0x1004aa5e
push 0x27b7
jmp 0x1004aa63
push 0x2737
push ecx
push edx
push dword [edi + 0x4c]
push dword [edi + 0x48]
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [0x1016b3a4], 0
jne 0x1004aa84
mov ecx, edi
call fcn.10044880
test esi, esi
je 0x1004aaec
cmp dword [0x1016b3cc], 0
je 0x1004aaec
mov eax, dword [edi + 0x20]
mov esi, edi
test eax, eax
je 0x1004aab6
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x1004aab6
cmp dword [ecx + 0x2c], 0
je 0x1004aab6
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1004aab4
cmp dword [ecx + 8], 0
jne 0x1004aab6
mov esi, eax
cmp dword [esi + 0x2c], 1
jl 0x1004aaec
push str.Tab_UpdateState
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
inc eax
push eax
push str.Tab_UpdateState
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetPropW]
mov edx, 1
mov ecx, esi
call fcn.1004ee90
push esi
call sym.ExuiKrnln_X32.dll_ControlUnlockWinUpdate
mov ecx, edi
call fcn.1004dd90
mov dword [edi + 0xbc], 0xe
cmp dword [0x1016b3c4], 0
mov byte [0x1016b3a5], 1
jne 0x1004ab26
push 0
push 8
push 0xa
push edi
push 0x10046340
push 0
push 0x1016b3c4
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x48