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

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xcc]
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
cmp eax, edi
je 0x5647b7
or ecx, 0xffffffff
cmp dword [eax + 0x30], edi
jne 0x5647ae
cmp dword [eax], edi
jne 0x5647ae
mov dword [esp + 0x34], ecx
jmp 0x5647c2
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x34], eax
jmp 0x5647c2
mov ecx, dword [ebx + 0x58]
mov dword [esp + 0x34], 0xffffffff
mov edx, dword [ebx + 0x20]
sub edx, dword [ebx + 0x1c]
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x564d42
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
inc eax
test eax, eax
jle 0x5647f7
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [esp + 0x38], 1
test eax, eax
jne 0x5647fb
mov dword [esp + 0x38], edi
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x38]
mov ecx, edx
sub ecx, eax
sub eax, dword [ebx + 0x28]
mov dword [esp + 0x10], ecx
mov esi, eax
cmp dword [esp + 0x38], edi
je 0x564819
cmp edx, dword [ebx + 0x2c]
jle 0x56481f
mov dword [esp + 0x10], edi
xor esi, esi
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x3c], ecx
cmp dword [ebx + 0x5c], edi
jne 0x564d42
lea edx, [ebx + 0x48]
push edx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
mov ebp, dword [ebx + 0x28]
mov edi, dword [ebx + 0x2c]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x18], eax
lea edx, [esi + ebp]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x20], ecx
add edx, eax
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x3c]
push str.SLIDERTRACK
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xa4], edi
mov dword [esp + 0x8c], edx
call fcn.005617f0
mov esi, eax
test esi, esi
je 0x564d42
mov ecx, esi
sub edi, ebp
call fcn.005a76f0
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.005a76f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ecx, edx
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
push 1
add edx, eax
mov dword [esp + 0x48], eax
push 0
lea eax, [esp + 0x1c]
add edi, ebp
push eax
mov ecx, esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edx
call fcn.00599170
mov edx, dword [eax]
mov ebp, dword [esp + 0xd4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
push ecx
push ebp
mov ecx, esi
call fcn.00599840
mov ecx, dword [esp + 0x3c]
push str.SLIDERTICK
call fcn.005617f0
mov edi, dword [ebx + 0x70]
mov esi, eax
mov dword [esp + 0x30], edi
test edi, edi
je 0x564ae4
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 4]
jle 0x564ae4
push 0
push 0xfffffffffffffffa
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
xor ecx, ecx
cmp dword [edi + 4], ecx
mov dword [esp + 0x10], ecx
jle 0x564ba0
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
mov eax, dword [ebx + 4]
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
mov edx, dword [edi]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fsubr qword [edx + ecx*8]
mov edx, dword [ebx + 8]
sub edx, eax
mov dword [esp + 0x60], edx
fmul st(1)
fild dword [esp + 0x60]
fdivp st(1)
fst qword [esp + 0x60]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x564acd
fcompp
fnstsw ax
test ah, 0x41
jp 0x564ad1
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.00597e10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, esi
mov dword [esp + 0x2c], edx
call fcn.005a76f0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add ecx, edx
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov ecx, esi
sar edi, 1
call fcn.0052eff0
fld qword [esp + 0x60]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
call fcn.005e0620
mov edx, dword [esp + 0x28]
sub eax, ebp
add eax, dword [esp + 0x40]
push 1
add edx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
add eax, edi
mov dword [esp + 0x24], eax
xor eax, eax
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call fcn.00599170
mov ebp, dword [esp + 0xd4]
push 0xff00ff
lea edx, [esp + 0x6c]
push edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, esi
call fcn.00599660
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
jmp 0x564ad1
fstp st(1)
fstp st(0)
inc ecx
cmp ecx, dword [edi + 4]
mov dword [esp + 0x10], ecx
jl 0x5649a4
jmp 0x564ba0
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00597e10
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.005a76f0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add ecx, edx
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov ecx, esi
sar edi, 1
call fcn.0052eff0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
add edx, ecx
sub edx, eax
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add ebx, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
add eax, edi
mov dword [esp + 0x74], eax
xor eax, eax
push 1
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00599170
push 0xff00ff
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x80]
push ecx
push ebp
mov ecx, esi
call fcn.00599660
mov ebx, dword [esp + 0x3c]
push str.SLIDERUP
mov ecx, ebx
call fcn.005617f0
mov edi, dword [esp + 0x34]
mov esi, eax
cmp edi, 0x3c
jne 0x564bc0
lea eax, [edi - 0x3a]
jmp 0x564bca
xor eax, eax
cmp dword [esp + 0x24], 0x3c
sete al
push 3
push eax
lea edx, [esp + 0xc8]
push edx
mov ecx, esi
call fcn.00599170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xc0]
push ecx
push ebp
mov ecx, esi
call fcn.00599840
push str.SLIDERDOWN
mov ecx, ebx
call fcn.005617f0
mov esi, eax
cmp edi, 0x3d
jne 0x564c1f
lea eax, [edi - 0x3b]
jmp 0x564c29
xor eax, eax
cmp dword [esp + 0x24], 0x3d
sete al
push 3
push eax
lea edx, [esp + 0xc8]
push edx
mov ecx, esi
call fcn.00599170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xb0]
push ecx
push ebp
mov ecx, esi
call fcn.00599840
cmp dword [esp + 0x38], 0
je 0x564d42
push str.SLIDERTHUMB
mov ecx, ebx
call fcn.005617f0
mov dword [esp + 0x30], eax
cmp edi, 0x40
jne 0x564c8b
lea edx, [edi - 0x3e]
jmp 0x564cb1
cmp edi, 0x3e
je 0x564cac
cmp edi, 0x3f
je 0x564cac
mov ecx, dword [esp + 0x24]
cmp ecx, 0x3e
je 0x564cac
cmp ecx, 0x3f
je 0x564cac
cmp ecx, 0x40
je 0x564cac
xor edx, edx
jmp 0x564cb1
mov edx, 1
push 3
push edx
lea edx, [esp + 0x58]
push edx
mov ecx, eax
call fcn.00599170
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x5c]
mov esi, ebx
sub esi, eax
sub eax, ebx
add eax, dword [esp + 0x88]
sub edi, dword [esp + 0x54]
add eax, dword [esp + 0x7c]
sub esp, 0x10
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x6c]
sar ecx, 1
add eax, dword [esp + 0x9c]
mov dword [esp + 0x24], ecx
add eax, dword [esp + 0x94]
add ecx, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
mov dword [esp + 0x28], eax
add eax, edi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
lea edx, [esp + 0x24]
mov dword [eax + 8], ebx
push edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x44]
push ebp
call fcn.00599840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 8