Function at 0x1004e070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x1004e58a
cmp ebx, edi
je 0x1004e58a
test ebx, ebx
je 0x1004e58a
mov edx, dword [ebp + 0x14]
movss xmm0, dword [0x10161668]
cmp edx, 0xc4653601
je 0x1004e102
movss xmm1, dword [ebx + 0x10c]
ucomiss xmm1, xmm0
movd xmm0, edx
lahf
test ah, 0x44
jp 0x1004e0cf
cvtdq2pd xmm0, xmm0
jmp 0x1004e0f3
cvtdq2ps xmm0, xmm0
sub esp, 8
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvttsd2si eax, xmm0
movss xmm0, dword [0x10161668]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xc4653601
je 0x1004e153
movss xmm1, dword [ebx + 0x10c]
ucomiss xmm1, xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1004e128
cvtdq2pd xmm0, xmm0
jmp 0x1004e14c
cvtdq2ps xmm0, xmm0
sub esp, 8
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvttsd2si eax, xmm0
mov dword [ebp + 0x18], eax
cmp dword [edi + 0x2c], 1
jne 0x1004e237
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebx + 0x10]
test esi, esi
jne 0x1004e172
mov esi, dword [ebx + 0x28]
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, esi
je 0x1004e193
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x1004e189
mov eax, dword [ebx + 0x28]
push eax
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetParent]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffffc
push dword [edi + 0x28]
call esi
cmp eax, fcn.10047510
jne 0x1004e1ba
push 0xffffffffffffffeb
push dword [edi + 0x28]
call esi
push eax
push 0xfffffffffffffffc
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SetPropW]
push 0
push str.Tab_Control
push dword [edi + 0x28]
call esi
push 0xb
push 0xffffffffffffffe6
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0xfffffffffffffff0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xc00000
push eax
push 0xfffffffffffffff0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.Tab_CanvasEx
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
mov ecx, eax
call fcn.10028af0
push 0
push str.Tab_CanvasEx
push dword [edi + 0x28]
call esi
push 0
push str.Layered
push dword [edi + 0x28]
call esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1004e258
cmp dword [eax + 0x24], 0x514
jne 0x1004e258
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push edi
push 0xffffffffffffffff
push eax
call sym.ExuiKrnln_X32.dll_RemoveControl_SelectthefolderEx
mov esi, dword [ebx + 0x2c]
mov edx, ebx
mov eax, dword [edi + 0x28]
inc esi
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], eax
jne 0x1004e280
nop dword [eax + eax]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x1004e280
cmp dword [eax + 0x2c], esi
jl 0x1004e280
mov edx, eax
jmp 0x1004e270
mov eax, dword [edi + 0x2c]
mov ecx, edi
mov dword [esp + 0x38], eax
inc eax
mov dword [edi + 0x20], ebx
mov edi, eax
nop
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, esi
sub eax, dword [esp + 0x38]
add dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1004e2af
cmp dword [eax + 0x2c], edi
jl 0x1004e2af
mov ecx, eax
jmp 0x1004e290
mov edi, dword [ebp + 8]
cmp edx, ecx
je 0x1004e30d
mov esi, dword [edi + 0x18]
test eax, eax
je 0x1004e2d6
mov dword [eax + 0x18], esi
mov esi, dword [edi + 0x18]
mov eax, dword [ecx + 0x1c]
test esi, esi
jne 0x1004e2d1
mov dword [0x1017745c], eax
jmp 0x1004e2ef
mov dword [esi + 0x1c], eax
jmp 0x1004e2ef
mov dword [0x1017751c], esi
test esi, esi
jne 0x1004e2e8
mov dword [0x1017745c], esi
jmp 0x1004e2ef
mov dword [esi + 0x1c], 0
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x1004e304
mov dword [0x1017751c], ecx
jmp 0x1004e307
mov dword [eax + 0x18], ecx
mov dword [edx + 0x1c], edi
mov dword [edi + 0x18], edx
push 0x1017746c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x30]
cmp esi, dword [ebx + 0x28]
je 0x1004e399
mov eax, dword [edi + 0x50]
neg eax
add eax, eax
mov dword [edi + 0x74], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1004e34e
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0
push 0
push eax
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
mov ecx, dword [esp + 0x2c]
or dword [ecx + 0xbc], 1
mov eax, dword [edi + 0x44]
push esi
push dword [edi + 0x28]
push 0
push 0x2ab
push 0x2a2
push edi
call eax
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x1004e399
mov ebx, dword [esp + 0x30]
nop
mov eax, dword [edi + 0x2c]
inc eax
cmp dword [esi + 0x2c], eax
jl 0x1004e396
mov eax, dword [esi + 0x44]
push ebx
push dword [edi + 0x28]
push 0
push 0x2ab
push 0x2a2
push esi
call eax
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x1004e370
mov ebx, dword [ebp + 0xc]
mov cl, byte [edi + 0x3d]
test cl, cl
jne 0x1004e452
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1004e3cc
cmp byte [eax + 0xd5], cl
je 0x1004e3cc
cmp byte [edi + 0xd5], cl
jne 0x1004e3ee
push 0
push 0
push 0
mov byte [edi + 0xd5], 1
push 1
jmp 0x1004e3e3
cmp byte [edi + 0xd5], 0
je 0x1004e3ee
push 0
push 0
push 0
mov byte [edi + 0xd5], cl
push 0
mov eax, dword [edi + 0x44]
push 0x3f2
push edi
call eax
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x1004e452
mov eax, dword [edi + 0x2c]
inc eax
cmp dword [esi + 0x2c], eax
jl 0x1004e452
mov eax, dword [esi + 0x20]
mov dl, byte [esi + 0xd5]
cmp byte [eax + 0xd5], 0
je 0x1004e425
test dl, dl
jne 0x1004e44b
push 0
push 0
push 0
mov byte [esi + 0xd5], 1
push 1
jmp 0x1004e440
mov cl, byte [esi + 0x3d]
cmp dl, cl
je 0x1004e44b
push 0
xor eax, eax
mov byte [esi + 0xd5], cl
push 0
test cl, cl
push 0
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f2
push esi
call eax
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x1004e3f5
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1004e482
mov esi, dword [ebx + 0x10]
test esi, esi
jne 0x1004e463
mov esi, dword [ebx + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, esi
je 0x1004e482
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x1004e478
mov eax, dword [ebx + 0x28]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x14]
cmp eax, 0xc4653601
je 0x1004e48f
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0x18]
cmp eax, 0xc4653601
je 0x1004e49c
mov dword [edi + 0x4c], eax
or dword [edi + 0xbc], 0xa
cmp dword [edi + 0x10], 0
je 0x1004e4b0
mov ecx, edi
call fcn.10045910
mov eax, dword [0x10177454]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x1004e568
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1004e515
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x1004e515
cmp dword [ecx + 0x2c], 0
je 0x1004e515
mov ecx, dword [edi + 0x38]
lea esi, [edi + 0x38]
test ecx, ecx
je 0x1004e4e8
cmp dword [ecx + 8], 0
jne 0x1004e518
cmp dword [edx + 0x2c], 1
jl 0x1004e518
push 0x1017746c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x2c]
mov edx, 1
call fcn.100504a0
push 0x1017746c
call ebx
mov eax, dword [0x10177454]
jmp 0x1004e518
lea esi, [edi + 0x38]
test eax, eax
je 0x1004e568
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1004e540
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x1004e540
cmp dword [ecx + 0x2c], 0
je 0x1004e540
mov ecx, dword [esi]
test ecx, ecx
je 0x1004e53c
cmp dword [ecx + 8], 0
jne 0x1004e540
mov edi, eax
jmp 0x1004e544
test edi, edi
je 0x1004e568
cmp dword [edi + 0x2c], 1
jl 0x1004e568
push 0x1017746c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, 1
mov ecx, edi
call fcn.100504a0
push 0x1017746c
call ebx
push 1
push 0x10177450
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x1017746c
call ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14