Function at 0x1004a360
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 [0x1016c3a4], 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 0x1004a3b4
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 0x1004a593
movss xmm1, dword [esi + 0x10c]
movss xmm0, dword [0x10155570]
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 0x1004a44c
movd xmm0, dword [ebp + 0x14]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
movss xmm0, dword [0x10155570]
add esp, 8
fstp qword [esp + 0x30]
cvttsd2si ecx, qword [esp + 0x30]
mov dword [esp + 0x2c], ecx
jmp 0x1004a453
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1004a49b
movd xmm0, dword [ebp + 0x18]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
movss xmm0, dword [0x10155570]
add esp, 8
fstp qword [esp + 0x30]
cvttsd2si ecx, qword [esp + 0x30]
mov dword [esp + 0x30], ecx
jmp 0x1004a4a2
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1004a4e7
movd xmm0, dword [ebp + 0x1c]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
movss xmm0, dword [0x10155570]
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 0x1004a523
movd xmm0, dword [ebp + 0x20]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
fstp qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
add esp, 8
jmp 0x1004a526
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 0x1004a786
cmp byte [0x1016c3a4], 0
je 0x1004a5ca
cmp ecx, 0x3e8
jne 0x1004a5c1
push str.Tab_Control
push ebx
call edx
test eax, eax
jne 0x1004a5c1
mov eax, dword [sym.imp.USER32.dll_SetPropW]
push 1
push str.Tab_IsWinControl
push dword [edi + 0x10]
call eax
cmp byte [0x1016c3a4], 0
jne 0x1004a63c
cmp dword [0x1016c498], 0
je 0x1004a63c
mov eax, dword [0x1016d2e4]
test eax, eax
je 0x1004a609
push ebx
call eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10155950]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x1015575c]
movss dword [edi + 0x10c], xmm0
jmp 0x1004a63c
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 [0x1015575c]
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 [0x10155524]
lahf
test ah, 0x44
jp 0x1004a671
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 0x1004a716
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 0x1004a765
mov eax, 0xff
mov dword [ebp + 0x2c], eax
jmp 0x1004a76c
cmp eax, 0x100
jg 0x1004a775
cmp byte [0x1016c3a4], 0
je 0x1004a77d
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.100ecff0
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.100ecff0
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1004a7c6
mov eax, dword [ecx + 0x2c]
add eax, dword [ecx + 8]
je 0x1004a7c6
inc dword [0x1016c3cc]
mov eax, dword [ebp + 0x44]
mov esi, dword [sym.imp.USER32.dll_SetPropW]
mov dword [edi + 0x70], eax
test ax, ax
je 0x1004a7e3
push 1
push str.FocusManagement
push dword [edi + 0x28]
call esi
mov edx, dword [ebp + 0x30]
mov ecx, 0x100503e0
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 0x1004a810
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 0x1004a8cf
mov eax, dword [esi + 0x2c]
mov edx, esi
inc eax
mov dword [edi + 0x2c], eax
mov eax, dword [0x1016c3ec]
cmp dword [eax + 0x20], esi
je 0x1004a8aa
cmp eax, esi
je 0x1004a8aa
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1004a8ac
mov eax, dword [esi + 0x2c]
inc eax
cmp dword [ecx + 0x2c], eax
jne 0x1004a8ac
cmp dword [ecx + 0x2c], eax
jl 0x1004a89b
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x1004a887
mov edx, dword [0x1016c3ec]
jmp 0x1004a8ac
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x1004a8ac
mov edx, dword [0x1016c3ec]
jmp 0x1004a8ac
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 0x1004a8c7
mov dword [0x1016c3ec], edi
mov dword [edx + 0x1c], edi
jmp 0x1004a8fa
mov dword [eax + 0x18], edi
mov dword [edx + 0x1c], edi
jmp 0x1004a8fa
mov eax, dword [0x1016c3ec]
mov dword [edi + 0x2c], 1
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
mov dword [0x1016c3ec], edi
test eax, eax
jne 0x1004a8f7
mov dword [0x1016c3d4], edi
jmp 0x1004a8fa
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 0x1004ab74
cmp dword [ebp + 0x2c], 0x100
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
jge 0x1004a962
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 [0x1016c4d4], 0
push fcn.10046530
push 0xfffffffffffffffc
push ebx
je 0x1004a982
call eax
push eax
mov eax, dword [sym.imp.USER32.dll_SetPropW]
push str.EXUI_USERDATA
jmp 0x1004a98c
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 [0x10155570]
lahf
test ah, 0x44
jnp 0x1004ab35
movd xmm0, dword [edi + 0x50]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
movd xmm0, dword [edi + 0x50]
add esp, 8
movd xmm2, dword [edi + 0x48]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10155570]
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 [0x101555a8]
ucomiss xmm3, xmm4
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov dword [edi + 0x48], eax
lahf
test ah, 0x44
jp 0x1004aa20
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x1004aa58
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
movss xmm3, dword [edi + 0x10c]
add esp, 8
movss xmm4, dword [0x10155570]
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 [0x101555a8]
subsd xmm1, xmm2
cvttsd2si edx, xmm1
mov dword [edi + 0x4c], edx
jge 0x1004aa90
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 0x1004aadf
movd xmm0, dword [edi + 0x50]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
add esp, 8
call fcn.10140a00
mov ecx, dword [edi + 0x54]
movss xmm4, dword [0x10155570]
mov dword [edi + 0x50], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004ab16
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
add esp, 8
call fcn.10140a00
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 0x1004ab2e
push 0x2794
jmp 0x1004ab63
push 0x2714
jmp 0x1004ab63
mov eax, dword [edi + 0x24]
cmp eax, 0x320
je 0x1004ab74
cmp eax, 0x384
je 0x1004ab74
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
test eax, eax
jne 0x1004ab5e
push 0x27b7
jmp 0x1004ab63
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 [0x1016c3a4], 0
jne 0x1004ab84
mov ecx, edi
call fcn.100449e0
test esi, esi
je 0x1004abec
cmp dword [0x1016c3cc], 0
je 0x1004abec
mov eax, dword [edi + 0x20]
mov esi, edi
test eax, eax
je 0x1004abb6
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x1004abb6
cmp dword [ecx + 0x2c], 0
je 0x1004abb6
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1004abb4
cmp dword [ecx + 8], 0
jne 0x1004abb6
mov esi, eax
cmp dword [esi + 0x2c], 1
jl 0x1004abec
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.1004ef90
push esi
call sym.ExuiKrnln_X32.dll_ControlUnlockWinUpdate
mov ecx, edi
call fcn.1004de90
mov dword [edi + 0xbc], 0xe
cmp dword [0x1016c3c4], 0
mov byte [0x1016c3a5], 1
jne 0x1004ac26
push 0
push 8
push 0xa
push edi
push 0x100464a0
push 0
push 0x1016c3c4
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x48